sepia-search-motore-di-rice.../support/systemd/peertube-search-index.service

20 lines
431 B
SYSTEMD
Raw Normal View History

2020-02-13 11:49:03 +01:00
[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