1
0
Fork 0

Add systemd file example

This commit is contained in:
Chocobozzz 2016-06-03 15:58:04 +02:00
parent 5d4e941100
commit 4688925411

View file

@ -0,0 +1,17 @@
[Unit]
Description=PeerTube daemon
[Service]
Type=simple
Environment=NODE_ENV=production
User=myuser
Group=myuser
ExecStart=/usr/bin/node server
WorkingDirectory=/path/to/peertube
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=peertube
Restart=always
[Install]
WantedBy=multi-user.target