1
0
Fork 0
peertube/support/systemd/peertube.service
Jorropo 9a515f76ef Added redis-server.service to After
On very very slow monocore server, peertube can generate error if redis isn't started.
2018-07-27 09:16:02 +02:00

19 lines
435 B
Desktop File

[Unit]
Description=PeerTube daemon
After=network.target postgresql.service redis-server.service
[Service]
Type=simple
Environment=NODE_ENV=production
Environment=NODE_CONFIG_DIR=/var/www/peertube/config
User=peertube
Group=peertube
ExecStart=/usr/bin/npm start
WorkingDirectory=/var/www/peertube/peertube-latest
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=peertube
Restart=always
[Install]
WantedBy=multi-user.target