Finishes todos for proper service creation

This commit is contained in:
David Underwood
2021-03-10 21:14:55 -05:00
parent 302c31bfca
commit 54dbba3b35
3 changed files with 74 additions and 20 deletions

15
foundryvtt.service Normal file
View File

@@ -0,0 +1,15 @@
[Unit]
Description=Foundry VTT
Documentation=https://foundryvtt.com
After=network.target
[Service]
Type=simple
User=foundry
Group=foundry
ExecStart=/home/foundry/foundry_app/resources/app/main.js --dataPath=/home/foundry/foundry_data
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target