diff options
| author | nemsia <nemsia@nemsia.org> | 2018-06-19 15:41:09 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2018-06-19 15:41:09 +0200 |
| commit | a6bca0a63a059838473ab175d3b5510780ba0a31 (patch) | |
| tree | 80330068f95864a32b5a2fa6dccad92338662476 /conf/mastodon-streaming.service | |
| parent | a59ccf025cd72c27ffc012cb78cc4fad067762f4 (diff) | |
| parent | ea9d2e8f0d93744988c03ef37a310bee4410e0b6 (diff) | |
| download | mastodon_ynh-a6bca0a63a059838473ab175d3b5510780ba0a31.tar.gz mastodon_ynh-a6bca0a63a059838473ab175d3b5510780ba0a31.tar.bz2 mastodon_ynh-a6bca0a63a059838473ab175d3b5510780ba0a31.zip | |
Merge branch 'master' of nemsia into master
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 |
