systemd: add service template
To launch a tiptorrent service instance with /home/foobar as root: systemctl start tiptorrent@home-foobar For systemd string escaping for unit names see systemd-escape(1).master
parent
cc5e4dca6a
commit
e39f7f8e3c
|
@ -0,0 +1,10 @@
|
|||
# tiptorrent systemd service file
|
||||
|
||||
[Unit]
|
||||
Description=tiptorrent server with root folder at %f
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/tiptorrent --redirect --root %f
|
Loading…
Reference in New Issue