diff options
| author | Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr> | 2018-05-01 18:49:10 +0200 |
|---|---|---|
| committer | Jean-Baptiste Holcroft <jean-baptiste@holcroft.fr> | 2018-05-01 18:49:10 +0200 |
| commit | 00a9710a4e97a4fae904d467854eb159af29d402 (patch) | |
| tree | f13d83283407f931a0b687f210077d23c17c493f /conf/mastodon-web.service | |
| parent | 69ddc4592be8122630130eda748ccaf85f4355a4 (diff) | |
| download | mastodon_ynh-00a9710a4e97a4fae904d467854eb159af29d402.tar.gz mastodon_ynh-00a9710a4e97a4fae904d467854eb159af29d402.tar.bz2 mastodon_ynh-00a9710a4e97a4fae904d467854eb159af29d402.zip | |
Use helpers for systemd & package installation, lock version to 2.3.3
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 |
