summarylogtreecommitdiffstats
path: root/irccat.service
diff options
context:
space:
mode:
Diffstat (limited to 'irccat.service')
-rw-r--r--irccat.service25
1 files changed, 25 insertions, 0 deletions
diff --git a/irccat.service b/irccat.service
new file mode 100644
index 000000000000..4e03cda8ea44
--- /dev/null
+++ b/irccat.service
@@ -0,0 +1,25 @@
+[Unit]
+Description=irccat service
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+Restart=on-failure
+ExecStart=/usr/bin/irccat
+ExecReload=/bin/kill -HUP $MAINPID
+
+DynamicUser=true
+NoNewPrivileges=true
+
+PrivateDevices=true
+ProtectHome=true
+ProtectSystem=strict
+
+ProtectHostname=true
+ProtectControlGroups=true
+ProtectKernelModules=true
+
+MemoryDenyWriteExecute=true
+
+[Install]
+WantedBy=multi-user.target