aboutsummaryrefslogtreecommitdiff
path: root/conf/mastodon-streaming.service
diff options
context:
space:
mode:
authorJean-Baptiste Holcroft <jean-baptiste@holcroft.fr>2018-05-01 18:49:10 +0200
committerJean-Baptiste Holcroft <jean-baptiste@holcroft.fr>2018-05-01 18:49:10 +0200
commit00a9710a4e97a4fae904d467854eb159af29d402 (patch)
treef13d83283407f931a0b687f210077d23c17c493f /conf/mastodon-streaming.service
parent69ddc4592be8122630130eda748ccaf85f4355a4 (diff)
downloadmastodon_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-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