diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-05-14 13:38:17 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-05-14 13:38:17 (GMT) |
commit | 3973788d772b7eb95284222a1ef9a7c9a00dd974 (patch) | |
tree | cd73e5f3098aa07aa918ecac78f770df4a69cef9 | |
parent | 0e39f791c21637176ec9b13dae1d2f2aff6b3383 (diff) |
updated to package 0.12 with systemd unit files
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/control | 26 | ||||
-rw-r--r-- | debian/copyright | 8 | ||||
-rw-r--r-- | debian/rhnop-client.nopcollectd-master.service | 14 | ||||
-rw-r--r-- | debian/rhnop-client.nopcollectd-standby.service | 14 | ||||
-rw-r--r-- | debian/rhnop-client.nopsysstated.service | 14 | ||||
-rw-r--r-- | debian/rhnop-server.nopsyncd.service | 14 | ||||
-rwxr-xr-x | debian/rules | 8 |
8 files changed, 91 insertions, 14 deletions
diff --git a/debian/changelog b/debian/changelog index b370da3..cd2f059 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +rhnop (0.12-1) UNRELEASED; urgency=medium + + * add systemd unit files + * fix some issues with library and config path + + -- Christian Pointner <equinox@spreadspace.org> Thu, 14 May 2015 15:35:59 +0200 + rhnop (0.11-1) unstable; urgency=medium * Initial release. diff --git a/debian/control b/debian/control index 169a44b..065e31d 100644 --- a/debian/control +++ b/debian/control @@ -3,31 +3,31 @@ Maintainer: Christian Pointner <equinox@helsinki.at> Section: net Priority: optional Standards-Version: 3.9.5 -Build-Depends: debhelper (>= 9), liblua5.2-dev, lua5.2 +Build-Depends: debhelper (>= 9), dh-systemd, liblua5.2-dev, lua5.2 Package: rhnop-common Architecture: all Depends: ${misc:Depends}, adduser Description: Radio Helsinki now playing information system - common - The Radio Helsinki now playing information system gathers the - now playing info into an mysql database for further processing. - . - This package contains common files. + The Radio Helsinki now playing information system gathers the + now playing info into an mysql database for further processing. + . + This package contains common files. Package: rhnop-client Architecture: all Depends: ${misc:Depends}, rhnop-common, lua-socket, lua-sql-mysql, lua5.2 Description: Radio Helsinki now playing information system - client - The Radio Helsinki now playing information system gathers the - now playing info into an mysql database for further processing. - . - This package contains the client component (import server). + The Radio Helsinki now playing information system gathers the + now playing info into an mysql database for further processing. + . + This package contains the client component (import server). Package: rhnop-server Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, rhnop-common, lua-posix, lua-socket, lua-sql-mysql, lua-mq, lua5.2 Description: Radio Helsinki now playing information system - server - The Radio Helsinki now playing information system gathers the - now playing info into an mysql database for further processing. - . - This package contains the server component (airplay server). + The Radio Helsinki now playing information system gathers the + now playing info into an mysql database for further processing. + . + This package contains the server component (airplay server). diff --git a/debian/copyright b/debian/copyright index c86ffd4..8abf351 100644 --- a/debian/copyright +++ b/debian/copyright @@ -18,6 +18,10 @@ License: GPL-3+ . You should have received a copy of the GNU General Public License along with rhnop. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. Files: debian/* Copyright: Copyright 2015 Christian Pointner <equinox@helsinki.at> @@ -34,3 +38,7 @@ License: GPL-3+ . You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the full text of the GNU General Public + License version 3 can be found in the file + `/usr/share/common-licenses/GPL-3'. diff --git a/debian/rhnop-client.nopcollectd-master.service b/debian/rhnop-client.nopcollectd-master.service new file mode 100644 index 0000000..154e374 --- /dev/null +++ b/debian/rhnop-client.nopcollectd-master.service @@ -0,0 +1,14 @@ +[Unit] +Description=Radio Helsinki Now Playing Daemon (Client: Master) + +[Service] +ExecStart=/usr/bin/nopcollectd master +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target diff --git a/debian/rhnop-client.nopcollectd-standby.service b/debian/rhnop-client.nopcollectd-standby.service new file mode 100644 index 0000000..5c6ec33 --- /dev/null +++ b/debian/rhnop-client.nopcollectd-standby.service @@ -0,0 +1,14 @@ +[Unit] +Description=Radio Helsinki Now Playing Daemon (Client: Standby) + +[Service] +ExecStart=/usr/bin/nopcollectd standby +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target diff --git a/debian/rhnop-client.nopsysstated.service b/debian/rhnop-client.nopsysstated.service new file mode 100644 index 0000000..d65dca8 --- /dev/null +++ b/debian/rhnop-client.nopsysstated.service @@ -0,0 +1,14 @@ +[Unit] +Description=Radio Helsinki Playout State Daemon + +[Service] +ExecStart=/usr/bin/nopsysstated +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target diff --git a/debian/rhnop-server.nopsyncd.service b/debian/rhnop-server.nopsyncd.service new file mode 100644 index 0000000..bd05e68 --- /dev/null +++ b/debian/rhnop-server.nopsyncd.service @@ -0,0 +1,14 @@ +[Unit] +Description=Radio Helsinki Now Playing Daemon (Server) + +[Service] +ExecStart=/usr/bin/nopsyncd +ExecReload=/bin/kill -HUP $MAINPID +Restart=on-failure +PrivateTmp=yes +PrivateDevices=yes +ProtectSystem=full +ProtectHome=yes + +[Install] +WantedBy=multi-user.target diff --git a/debian/rules b/debian/rules index 83b194e..e09f048 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,12 @@ #!/usr/bin/make -f %: - dh $@ --sourcedirectory=src + dh $@ --with=systemd --sourcedirectory=src override_dh_auto_configure: dh_auto_configure -- --ebuild-compat + +override_dh_systemd_enable: + dh_systemd_enable --name=nopsyncd nopsyncd.service + dh_systemd_enable --name=nopsysstated nopsysstated.service + dh_systemd_enable --name=nopcollectd-master nopcollectd-master.service + dh_systemd_enable --name=nopcollectd-standby nopcollectd-standby.service |