summarylogtreecommitdiffstats
path: root/chihaya.service
diff options
context:
space:
mode:
authorJ. Konrad Tegtmeier-Rottach2018-05-17 23:29:43 +0200
committerJ. Konrad Tegtmeier-Rottach2018-05-17 23:38:08 +0200
commita5e0fa2a983ac1530a5545b6ed8a55636f71f968 (patch)
treef123b13b85ee68f1113872313a45ab7903d1a75c /chihaya.service
downloadaur-chihaya-git.tar.gz
initial commit
This would have been a non-vcs package, but the last stable upstream release happened before a complete rewrite took place, and supporting the old version seems questionable. Tracking release canditates seems somewhat wrong as well, given that there have been some 100 commits since then.
Diffstat (limited to 'chihaya.service')
-rw-r--r--chihaya.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/chihaya.service b/chihaya.service
new file mode 100644
index 000000000000..87f35eb14569
--- /dev/null
+++ b/chihaya.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Chihaya BitTorrent Tracker
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+User=chihaya
+ExecStart=/usr/bin/chihaya
+
+ProtectHome=true
+ProtectSystem=full
+NoNewPrivileges=true
+
+[Install]
+WantedBy=multi-user.target