summaryrefslogtreecommitdiffstats
path: root/proxy/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/systemd')
-rw-r--r--proxy/systemd/gssproxy.service14
-rw-r--r--proxy/systemd/gssproxy.service.in14
2 files changed, 28 insertions, 0 deletions
diff --git a/proxy/systemd/gssproxy.service b/proxy/systemd/gssproxy.service
new file mode 100644
index 0000000..ab25699
--- /dev/null
+++ b/proxy/systemd/gssproxy.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=GSSAPI Proxy Daemon
+# GSSPROXY will not be started until syslog is
+After=syslog.target
+
+[Service]
+ExecStart=${exec_prefix}/sbin/gssproxy -D -f
+# These two should be used with traditional UNIX forking daemons
+# consult systemd.service(5) for more details
+Type=forking
+PIDFile=${prefix}/var/run/gssproxy.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/proxy/systemd/gssproxy.service.in b/proxy/systemd/gssproxy.service.in
new file mode 100644
index 0000000..996b60d
--- /dev/null
+++ b/proxy/systemd/gssproxy.service.in
@@ -0,0 +1,14 @@
+[Unit]
+Description=GSSAPI Proxy Daemon
+# GSSPROXY will not be started until syslog is
+After=syslog.target
+
+[Service]
+ExecStart=@sbindir@/gssproxy -D -f
+# These two should be used with traditional UNIX forking daemons
+# consult systemd.service(5) for more details
+Type=forking
+PIDFile=@localstatedir@/run/gssproxy.pid
+
+[Install]
+WantedBy=multi-user.target