diff options
| author | nemsia <nemsia@nemsia.org> | 2018-05-15 11:31:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-15 11:31:31 +0200 |
| commit | cc1d482ce0cd8a1d89b63c77c58ab583de0e5486 (patch) | |
| tree | 1819ff84a1da9f743c14ad54d4857ed7d5ef1bb1 /conf/mastodon-web.service | |
| parent | b4fdc7ea3ea53916baf80974783569c942cac360 (diff) | |
| parent | 56e9231be42fc514bf0e8c7e2bbfd16a9c8e575b (diff) | |
| download | mastodon_ynh-cc1d482ce0cd8a1d89b63c77c58ab583de0e5486.tar.gz mastodon_ynh-cc1d482ce0cd8a1d89b63c77c58ab583de0e5486.tar.bz2 mastodon_ynh-cc1d482ce0cd8a1d89b63c77c58ab583de0e5486.zip | |
Merge pull request #18 from YunoHost-Apps/testing
Testing
Diffstat (limited to 'conf/mastodon-web.service')
| -rw-r--r-- | conf/mastodon-web.service | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service index 4632031..06069f1 100644 --- a/conf/mastodon-web.service +++ b/conf/mastodon-web.service @@ -1,17 +1,17 @@ [Unit] - Description=mastodon-web + Description=__APP__-web After=network.target [Service] Type=simple - User=mastodon - WorkingDirectory=/opt/mastodon/live + User=__APP__ + WorkingDirectory=__FINALPATH__/live Environment="RAILS_ENV=production" Environment="PORT=3000" - ExecStart=/opt/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb + ExecStart=__FINALPATH__/live/bin/bundle exec puma -C config/puma.rb TimeoutSec=15 Restart=always StandardError=syslog [Install] - WantedBy=multi-user.target
\ No newline at end of file + WantedBy=multi-user.target |
