summaryrefslogtreecommitdiffstats
path: root/proxy/systemd
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-12-12 15:43:17 -0500
committerSimo Sorce <simo@redhat.com>2012-01-04 19:19:54 -0500
commit0d39e7a43a585a46e9cb6c755d97003470c5bd54 (patch)
tree6f54cf7e09f0188d46e8e6ecf85e4c58d9412d31 /proxy/systemd
parentd82bf26a6d4d44e3c6f5473f4dad508564e4cdd7 (diff)
downloadgss-proxy-0d39e7a43a585a46e9cb6c755d97003470c5bd54.tar.gz
gss-proxy-0d39e7a43a585a46e9cb6c755d97003470c5bd54.tar.xz
gss-proxy-0d39e7a43a585a46e9cb6c755d97003470c5bd54.zip
Intial skeleton gssproxy daemon
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