summarylogtreecommitdiffstats
path: root/system.service
diff options
context:
space:
mode:
authorTC2017-12-16 02:22:35 -0800
committerTC2017-12-16 02:22:35 -0800
commitb8245ae430143f1306294abca76683febfd32f70 (patch)
tree09e5f8431cbdf2341728ef7b8be239f5bb8e25ae /system.service
downloadaur-b8245ae430143f1306294abca76683febfd32f70.tar.gz
initial commit
Diffstat (limited to 'system.service')
-rw-r--r--system.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/system.service b/system.service
new file mode 100644
index 000000000000..bc93df954c6d
--- /dev/null
+++ b/system.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Connects Discord and IRC channels by sending messages back and forth.
+After=network.target
+
+[Service]
+User=discord-irc
+Group=discord-irc
+Type=simple
+ExecStart=/usr/bin/discord-irc --config /etc/discord-irc/conf.json
+ProtectSystem=yes
+ProtectHome=yes
+NoNewPrivileges=yes
+PrivateTmp=yes
+
+[Install]
+WantedBy=multi-user.target