aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-streaming.service
diff options
context:
space:
mode:
authornemsia <nemsia@nemsia.org>2018-06-19 15:24:45 +0200
committernemsia <nemsia@nemsia.org>2018-06-19 15:24:45 +0200
commitea9d2e8f0d93744988c03ef37a310bee4410e0b6 (patch)
tree80330068f95864a32b5a2fa6dccad92338662476 /conf/mastodon-streaming.service
parente47519da19d66e8f5d276a6ee582456f59d0541b (diff)
parentea65ebe0a1dfda010cd030c6861dd30e0c2b43f7 (diff)
downloadmastodon_ynh-ea9d2e8f0d93744988c03ef37a310bee4410e0b6.tar.gz
mastodon_ynh-ea9d2e8f0d93744988c03ef37a310bee4410e0b6.tar.bz2
mastodon_ynh-ea9d2e8f0d93744988c03ef37a310bee4410e0b6.zip
Merge branch 'testing-2.4' into master
And Stay on 2.4.1
Diffstat (limited to 'conf/mastodon-streaming.service')
-rw-r--r--conf/mastodon-streaming.service8
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