forked from altcloud/fence-virt
Add systemd unit file and generation
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
parent
a1b5a03c38
commit
9522be50d9
12
Makefile.in
12
Makefile.in
@ -11,7 +11,7 @@
|
|||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
|
|
||||||
all:
|
all: fence_virtd.service
|
||||||
make -C config
|
make -C config
|
||||||
make -C common
|
make -C common
|
||||||
make -C client
|
make -C client
|
||||||
@ -28,7 +28,17 @@ clean:
|
|||||||
make -C common clean
|
make -C common clean
|
||||||
make -C client clean
|
make -C client clean
|
||||||
make -C server clean
|
make -C server clean
|
||||||
|
rm -f fence_virtd.service
|
||||||
|
|
||||||
maintainer-clean:
|
maintainer-clean:
|
||||||
make clean
|
make clean
|
||||||
git clean -df
|
git clean -df
|
||||||
|
|
||||||
|
fence_virtd.service: fence_virtd.service.in
|
||||||
|
# Expand macros and add to unit file
|
||||||
|
SBINDIR="@sbindir@"; \
|
||||||
|
SCDIR="@sysconfdir@"; \
|
||||||
|
cat $^ > $@ ; \
|
||||||
|
echo "EnvironmentFile=-$$SCDIR/sysconfig/fence_virtd" >> $@ ;\
|
||||||
|
echo "ExecStart=$$SBINDIR/fence_virtd \$$FENCE_VIRTD_ARGS" >> $@
|
||||||
|
|
||||||
|
6
TODO
6
TODO
@ -1,13 +1,7 @@
|
|||||||
High Priority / Blockers for v1.0;
|
High Priority / Blockers for v1.0;
|
||||||
|
|
||||||
* pacemaker backend
|
|
||||||
|
|
||||||
* endian-clean / 64-bit clean data structure analysis
|
* endian-clean / 64-bit clean data structure analysis
|
||||||
|
|
||||||
Future Stuff:
|
Future Stuff:
|
||||||
|
|
||||||
* oVirt backend
|
|
||||||
|
|
||||||
* libccs configuration plugin
|
|
||||||
|
|
||||||
* clean up development bits so third parties can develop plugins
|
* clean up development bits so third parties can develop plugins
|
||||||
|
12
fence_virtd.service.in
Normal file
12
fence_virtd.service.in
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Fence-Virt system host daemon
|
||||||
|
After=syslog.target network.target libvirt-qmf.service libvirtd.service corosync.service
|
||||||
|
Requires=syslog.target network.target
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Restart=on-failure
|
||||||
|
SysVStartPriority=99
|
||||||
|
# Autogenerated below here
|
Loading…
Reference in New Issue
Block a user