Unit files for my systemd services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
364 B

[Unit]
Description=A Torrent Downloader Service
After=network.target
After=syslog.target
[Service]
User=foundry
Group=foundry
WorkingDirectory=/opt/foundry/
StartLimitIntervalSec=10
StartLimitBurst=3
Restart=always
RestartSec=30s
Type=simple
ExecStart=/usr/bin/node /opt/foundry/resources/app/main.js --dataPath=%S/foundry
[Install]
WantedBy=multi-user.target