summaryrefslogtreecommitdiff
path: root/arch/ksyxbotd.service
diff options
context:
space:
mode:
authorTrumeet <yuuta@yuuta.moe>2022-04-01 21:13:31 -0700
committerTrumeet <yuuta@yuuta.moe>2022-04-01 21:13:31 -0700
commit318a1ef88bb5ea09ff4cf953908aef5c76735a46 (patch)
tree9cdd8be7679e6a336af7a82ca4947b3ffdac97b2 /arch/ksyxbotd.service
downloadksyxbot-318a1ef88bb5ea09ff4cf953908aef5c76735a46.tar
ksyxbot-318a1ef88bb5ea09ff4cf953908aef5c76735a46.tar.gz
ksyxbot-318a1ef88bb5ea09ff4cf953908aef5c76735a46.tar.bz2
ksyxbot-318a1ef88bb5ea09ff4cf953908aef5c76735a46.zip
First Commit
Diffstat (limited to 'arch/ksyxbotd.service')
-rw-r--r--arch/ksyxbotd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/ksyxbotd.service b/arch/ksyxbotd.service
new file mode 100644
index 0000000..c71fe66
--- /dev/null
+++ b/arch/ksyxbotd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=ksyxbotd
+Documentation=man:ksyxbotd(1)
+After=network.target network-online.target nss-lookup.target
+
+[Service]
+Type=simple
+User=ksyxbot
+EnvironmentFile=/etc/ksyxbot/botd.conf
+ExecStart=/usr/bin/ksyxbotd --td_path /var/lib/ksyxbot/td/ --db_path /var/lib/ksyxbot/db.sql
+
+[Install]
+WantedBy=multi-user.target