trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject [1/2] git commit: TS-1148: Add a systemd service definition Author: Jan-Frode Myklebust <janfrodes @tanso net> Review: igalic
Date Mon, 19 Mar 2012 12:53:00 GMT
Updated Branches:
  refs/heads/master 4993e5266 -> 8ea72978b


TS-1148: Add a systemd service definition
Author: Jan-Frode Myklebust <janfrodes @tanso net>
Review: igalic


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8ea72978
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8ea72978
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8ea72978

Branch: refs/heads/master
Commit: 8ea72978b2a554965ecfdd6cb620fa548431971b
Parents: 9c9937c
Author: Igor Galić <i.galic@brainsware.org>
Authored: Mon Mar 19 12:57:48 2012 +0000
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Mon Mar 19 12:57:48 2012 +0000

----------------------------------------------------------------------
 configure.ac                |    1 +
 rc/trafficserver.service.in |   13 +++++++++++++
 2 files changed, 14 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8ea72978/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 9725c12..58e50b2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1384,6 +1384,7 @@ AC_CONFIG_FILES([rc/Makefile])
 AC_CONFIG_FILES([rc/trafficserver])
 AC_CONFIG_FILES([rc/trafficserver.xml])
 AC_CONFIG_FILES([rc/trafficserver.conf])
+AC_CONFIG_FILES([rc/trafficserver.service])
 AC_CONFIG_FILES([iocore/aio/Makefile])
 AC_CONFIG_FILES([iocore/cache/Makefile])
 AC_CONFIG_FILES([iocore/cluster/Makefile])

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8ea72978/rc/trafficserver.service.in
----------------------------------------------------------------------
diff --git a/rc/trafficserver.service.in b/rc/trafficserver.service.in
new file mode 100644
index 0000000..c0582d6
--- /dev/null
+++ b/rc/trafficserver.service.in
@@ -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=@exp_runtimedir@/cop.pid
+ExecStart=@exp_bindir@/traffic_cop $TC_DAEMON_ARGS
+ExecReload=@exp_bindir@/traffic_line -x
+
+[Install]
+WantedBy=multi-user.target


Mime
View raw message