diff options
Diffstat (limited to 'distbuild/usr/lib/systemd/system/morph-cache-server.service')
-rw-r--r-- | distbuild/usr/lib/systemd/system/morph-cache-server.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/distbuild/usr/lib/systemd/system/morph-cache-server.service b/distbuild/usr/lib/systemd/system/morph-cache-server.service new file mode 100644 index 00000000..e5faf206 --- /dev/null +++ b/distbuild/usr/lib/systemd/system/morph-cache-server.service @@ -0,0 +1,10 @@ +[Unit] +Description=Morph cache server +Requires=local-fs.target network.target +After=local-fs.target network.target +ConditionPathExists=/etc/morph-cache-server.conf +ConditionPathIsDirectory=/srv/distbuild/artifacts + +[Service] +ExecStart=/usr/bin/morph-cache-server +Restart=always |