Adding a systemd service file for linux distros

This commit is contained in:
2018-01-19 21:51:17 -05:00
parent aa9082f598
commit 988a6517fc

View File

@@ -0,0 +1,13 @@
[Unit]
Description=goTorrent Server
After=network.target
[Service]
type=simple
User=goTorrent
WorkingDirectory=/opt/goTorrent
ExecStart=/opt/goTorrent/goTorrent
Restart=on-abort
[Install]
WantedBy=multi-user.target