diff options
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/ceres.service | 14 | ||||
-rw-r--r-- | systemd/ceres.sysusers | 1 | ||||
-rw-r--r-- | systemd/ceres.tmpfiles | 4 |
3 files changed, 19 insertions, 0 deletions
diff --git a/systemd/ceres.service b/systemd/ceres.service new file mode 100644 index 0000000..12b63c9 --- /dev/null +++ b/systemd/ceres.service @@ -0,0 +1,14 @@ + +[Unit] +Description=Recipe server for your favorite dishes +After=network.target +After=mariadb.service + +[Service] +User=ceres +Group=ceres +ExecStart=/usr/bin/ceres + +[Install] +WantedBy=multi-user.target + diff --git a/systemd/ceres.sysusers b/systemd/ceres.sysusers new file mode 100644 index 0000000..e269688 --- /dev/null +++ b/systemd/ceres.sysusers @@ -0,0 +1 @@ +u ceres - "ceres daemon user" - /bin/bash diff --git a/systemd/ceres.tmpfiles b/systemd/ceres.tmpfiles new file mode 100644 index 0000000..1c3101c --- /dev/null +++ b/systemd/ceres.tmpfiles @@ -0,0 +1,4 @@ +d /var/lib/ceres 0750 +d /var/lib/ceres/recipes 0750 +d /var/lib/ceres/recipes/image 0750 +Z /var/lib/ceres - ceres ceres |