Browse Source

Adds foundry.service

master
Noah Pederson 1 year ago
parent
commit
d46172d390
  1. 20
      system/foundry.service

20
system/foundry.service

@ -0,0 +1,20 @@
[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
Loading…
Cancel
Save