1
0
Fork 0
peertube/support/systemd/peertube.service
2017-06-20 20:34:41 +02:00

17 lines
301 B
Desktop File

[Unit]
Description=PeerTube daemon
[Service]
Type=simple
Environment=NODE_ENV=production
User=myuser
Group=myuser
ExecStart=/usr/bin/npm start
WorkingDirectory=/path/to/peertube
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=peertube
Restart=always
[Install]
WantedBy=multi-user.target