]>
Commit | Line | Data |
---|---|---|
1 | [Unit] | |
2 | Description=PeerTube daemon | |
3 | After=network.target postgresql.service | |
4 | ||
5 | [Service] | |
6 | Type=simple | |
7 | Environment=NODE_ENV=production | |
8 | Environment=NODE_CONFIG_DIR=/var/www/peertube/config | |
9 | User=peertube | |
10 | Group=peertube | |
11 | ExecStart=/usr/bin/npm start | |
12 | WorkingDirectory=/var/www/peertube/peertube-latest | |
13 | StandardOutput=syslog | |
14 | StandardError=syslog | |
15 | SyslogIdentifier=peertube | |
16 | Restart=always | |
17 | ||
18 | [Install] | |
19 | WantedBy=multi-user.target |