summaryrefslogtreecommitdiffstats
path: root/src/signframework/systemd/signframework.service
diff options
context:
space:
mode:
Diffstat (limited to 'src/signframework/systemd/signframework.service')
-rw-r--r--src/signframework/systemd/signframework.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/signframework/systemd/signframework.service b/src/signframework/systemd/signframework.service
new file mode 100644
index 0000000..7468977
--- /dev/null
+++ b/src/signframework/systemd/signframework.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=Signing Framework daemon
+After=network.target sshd.service
+
+[Service]
+Type=simple
+#PIDFile=/var/run/framework.pid
+WorkingDirectory=/home/framework/signframework/src/signframework
+EnvironmentFile=/home/framework/signframework/src/signframework/systemd/signframework.conf
+ExecStart=/home/framework/signframework/src/signframework/framework $OPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
+Restart=on-failure
+RestartSec=42s
+User=framework
+Group=framework
+
+[Install]
+WantedBy=multi-user.target
OpenPOWER on IntegriCloud