From e39f7f8e3c940cb6e6fd23e99f03017bb5865114 Mon Sep 17 00:00:00 2001 From: tiptorrent development team Date: Wed, 22 Sep 2021 16:05:45 +0200 Subject: 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). --- tiptorrent@.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tiptorrent@.service diff --git a/tiptorrent@.service b/tiptorrent@.service new file mode 100644 index 0000000..b3956e0 --- /dev/null +++ b/tiptorrent@.service @@ -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 -- cgit v1.2.3-18-g5258