[trafficserver] Add systemd service-file for trafficserver. Also suggested this as the upstream service file in http

Jan-Frode Myklebust janfrode at fedoraproject.org
Sun Mar 18 18:47:50 UTC 2012


commit 87d1acf7796172c913e509cb9964af679a4fdeb2
Author: Jan-Frode Myklebust <janfrode at tanso.net>
Date:   Sun Mar 18 19:45:36 2012 +0100

    Add systemd service-file for trafficserver. Also suggested this as the upstream
    service file in https://issues.apache.org/jira/browse/TS-1148

 trafficserver.service |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/trafficserver.service b/trafficserver.service
new file mode 100644
index 0000000..7edf9c8
--- /dev/null
+++ b/trafficserver.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Apache Traffic Server is a fast, scalable and extensible caching proxy server.
+After=syslog.target network.target
+
+[Service]
+Type=simple
+EnvironmentFile=-/etc/sysconfig/trafficserver
+PIDFile=/var/run/trafficserver/cop.pid
+ExecStart=/usr/bin/traffic_cop $TC_DAEMON_ARGS
+ExecReload=/usr/bin/traffic_line -x
+
+[Install]
+WantedBy=multi-user.target


More information about the scm-commits mailing list