diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-04 21:28:51 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-04 21:28:51 +0000 |
commit | 4cf01fa19d5d5d82d959c4bf472fe14f008466c2 (patch) | |
tree | 6cbc8c611315dd06aaae2a18f4cdcbfde2d6d281 /systemd-units | |
parent | ocfs2.service (diff) | |
download | util-icebox-service-1.tar.bz2 util-icebox-service-1.tar.xz util-icebox-service-1.zip |
Add glacier2.service icebox.service slony1.serviceslony1-service-1icebox-service-1glacier2-service-1
Diffstat (limited to 'systemd-units')
-rw-r--r-- | systemd-units/glacier2.service | 15 | ||||
-rw-r--r-- | systemd-units/icebox.service | 12 | ||||
-rw-r--r-- | systemd-units/slony1.service | 14 |
3 files changed, 41 insertions, 0 deletions
diff --git a/systemd-units/glacier2.service b/systemd-units/glacier2.service new file mode 100644 index 0000000..2eadf81 --- /dev/null +++ b/systemd-units/glacier2.service @@ -0,0 +1,15 @@ +[Unit] +Description=ZeroC ICE Glacier2 Router + +[Service] +Type=simple +StandardOutput=journal +StandardError=journal +Restart=always +StartLimitInterval=10 +StartLimitBurst=5 +ExecStart=/usr/bin/glacier2router --Ice.Config=/etc/conf.d/glacier2 + +[Install] +WantedBy=multi-user.target + diff --git a/systemd-units/icebox.service b/systemd-units/icebox.service new file mode 100644 index 0000000..534028e --- /dev/null +++ b/systemd-units/icebox.service @@ -0,0 +1,12 @@ +[Unit] +Description=IceBox service for %I +After=network.target + +[Service] +ExecStart=/usr/bin/icebox \ + --Ice.ProgramName=%I \ + --Ice.Config=/etc/%I/icebox.config +Restart=on-failure + +[Install] +WantedBy=multi-user.target diff --git a/systemd-units/slony1.service b/systemd-units/slony1.service new file mode 100644 index 0000000..d17f250 --- /dev/null +++ b/systemd-units/slony1.service @@ -0,0 +1,14 @@ +[Unit] +Description=Slony1 Replication for PostgreSQL +After=network.target postgresql-9.3.service + +[Service] +ExecStart=/usr/bin/slon -p /var/run/postgresql/slony1.pid -d ${LOGLEVEL} -f /etc/slony1.cfg ${CLUSTER} "dbname=${DBNAME} user=${DBUSER} host=${DBHOST}" +Restart=on-failure + +User=postgres +Group=postgres + +[Install] +WantedBy=multi-user.target + |