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-streaming.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-streaming.service')
| -rw-r--r-- | conf/mastodon-streaming.service | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/mastodon-streaming.service b/conf/mastodon-streaming.service index 1716b00..443cac0 100644 --- a/conf/mastodon-streaming.service +++ b/conf/mastodon-streaming.service @@ -1,11 +1,11 @@ [Unit] - Description=mastodon-streaming + Description=__APP__-streaming After=network.target [Service] Type=simple - User=mastodon - WorkingDirectory=/opt/mastodon/live + User=__APP__ + WorkingDirectory=__FINALPATH__/live Environment="NODE_ENV=production" Environment="PORT=4000" ExecStart=/usr/bin/npm run start @@ -14,4 +14,4 @@ StandardError=syslog [Install] - WantedBy=multi-user.target
\ No newline at end of file + WantedBy=multi-user.target |
