diff options
| author | nemsia <nemsia@nemsia.org> | 2018-05-03 15:42:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-03 15:42:48 +0200 |
| commit | 56e9231be42fc514bf0e8c7e2bbfd16a9c8e575b (patch) | |
| tree | 1819ff84a1da9f743c14ad54d4857ed7d5ef1bb1 /conf/mastodon-web.service | |
| parent | 52ea3880731fe09d724ac0b831605583682068cf (diff) | |
| parent | b67376ec30c52e5d0ff2014fb89149a5e8fd2215 (diff) | |
| download | mastodon_ynh-56e9231be42fc514bf0e8c7e2bbfd16a9c8e575b.tar.gz mastodon_ynh-56e9231be42fc514bf0e8c7e2bbfd16a9c8e575b.tar.bz2 mastodon_ynh-56e9231be42fc514bf0e8c7e2bbfd16a9c8e575b.zip | |
Merge pull request #76 from Jibec/master
Refactoring
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 |
