Add router daemon
This commit is contained in:
8
debian/control
vendored
8
debian/control
vendored
@ -33,6 +33,14 @@ Description: Parallel Virtual Cluster network daemon (Python 3)
|
||||
.
|
||||
This package installs the PVC network daemon
|
||||
|
||||
Package: pvc-router-daemon
|
||||
Architecture: all
|
||||
Depends: pvc-daemon-common
|
||||
Description: Parallel Virtual Cluster router daemon (Python 3)
|
||||
The Parallel Virtual Cluster provides a management solution for QEMU/KVM virtual clusters.
|
||||
.
|
||||
This package installs the PVC router daemon
|
||||
|
||||
Package: pvc-client-common
|
||||
Architecture: all
|
||||
Depends: python3-kazoo, python3-psutil, python3-click, python3-lxml
|
||||
|
4
debian/pvc-router-daemon.install
vendored
Normal file
4
debian/pvc-router-daemon.install
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
router-daemon/pvcrd.py usr/share/pvc
|
||||
router-daemon/pvcrd.service lib/systemd/system
|
||||
router-daemon/pvcrd.conf.sample etc/pvc
|
||||
router-daemon/pvcrd usr/share/pvc
|
6
debian/pvc-router-daemon.postinst
vendored
Normal file
6
debian/pvc-router-daemon.postinst
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Enable the servive
|
||||
systemctl enable /lib/systemd/system/pvcnd.service
|
||||
|
||||
echo "The PVC network daemon has not been started. Create a config file at /etc/pvc/pvcnd.conf then start it."
|
5
debian/pvc-router-daemon.prerm
vendored
Normal file
5
debian/pvc-router-daemon.prerm
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Disable the service
|
||||
systemctl disable pvcnd.service
|
||||
|
Reference in New Issue
Block a user