1
0
mirror of https://framagit.org/framasoft/peertube/search-index/ synced 2024-12-14 01:54:24 +01:00
sepia-search-motore-di-rice.../support/systemd/peertube-search-index.service
2020-02-13 11:49:03 +01:00

20 lines
431 B
Desktop File

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