summarylogtreecommitdiffstats
path: root/btpd.service
diff options
context:
space:
mode:
authorjsm2020-05-12 14:10:40 +0200
committerjsm2020-05-12 14:20:44 +0200
commit78d46202a5cc1ae88c66aae77bd1350922bd074d (patch)
tree9b7ae1942045a003e7122c6ddc22da974e53cfaa /btpd.service
downloadaur-78d46202a5cc1ae88c66aae77bd1350922bd074d.tar.gz
Initial package release
Includes systemd service and install routines managing `btpd` user.
Diffstat (limited to 'btpd.service')
-rw-r--r--btpd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/btpd.service b/btpd.service
new file mode 100644
index 000000000000..083619d83bec
--- /dev/null
+++ b/btpd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=BitTorrent Protocol Daemon
+After=network-up.target
+
+[Service]
+Type=simple
+User=btpd
+ExecStart=/usr/bin/btpd --no-daemon
+
+[Install]
+WantedBy=default.target