aboutsummaryrefslogtreecommitdiff
path: root/systemd/jobd-master.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/jobd-master.service')
-rw-r--r--systemd/jobd-master.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/systemd/jobd-master.service b/systemd/jobd-master.service
new file mode 100644
index 0000000..45b7fca
--- /dev/null
+++ b/systemd/jobd-master.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=jobd master daemon
+After=mariadb.service
+
+[Service]
+User=nobody
+Group=nobody
+PermissionsStartOnly=true
+Restart=on-failure
+ProtectSystem=full
+PrivateDevices=true
+ExecStartPre=/usr/bin/install -d -o nobody /var/log/jobd
+ExecStart=/usr/bin/jobd-master --config /etc/jobd-master.conf
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file