1
0
Fork 0
peertube/support/systemd/peertube.service
2018-01-12 18:07:41 +01:00

18 lines
322 B
Desktop File

[Unit]
Description=PeerTube daemon
After=network.target
[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