Browse Source

Adds foundry.service

master
Noah Pederson 2 months ago
parent
commit
d46172d390
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      system/foundry.service

+ 20
- 0
system/foundry.service View File

@ -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