Adding a systemd service file for linux distros
This commit is contained in:
13
dist-specific-files/Linux-systemd/goTorrent.service
Normal file
13
dist-specific-files/Linux-systemd/goTorrent.service
Normal 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
|
Reference in New Issue
Block a user