add systemd commands

This commit is contained in:
Justin Hammond 2015-10-24 00:57:37 +08:00
parent 692be96b17
commit 1c55ffbc06

8
dist/LMBd.spec vendored
View file

@ -43,13 +43,19 @@ mkdir -p ${RPM_BUILD_ROOT}/var/log/LMBd
#%doc README
#%config /etc/ozwwebapp/*
%pre
%pre
%service_add_pre zabbix-stat.service lmbd.service
%post
/sbin/ldconfig
%service_add_post zabbix-stat.service lmbd.service
%preun
%service_del_preun zabbix-stats.ervice lmbd.service
%postun
/sbin/ldconfig
%service_del_postun zabbix-stats.ervice lmbd.service
%changelog