mirror of
https://github.com/Fishwaldo/LEDMessageBoard.git
synced 2025-07-07 21:38:24 +00:00
add systemd commands
This commit is contained in:
parent
692be96b17
commit
1c55ffbc06
1 changed files with 7 additions and 1 deletions
8
dist/LMBd.spec
vendored
8
dist/LMBd.spec
vendored
|
@ -43,13 +43,19 @@ mkdir -p ${RPM_BUILD_ROOT}/var/log/LMBd
|
||||||
#%doc README
|
#%doc README
|
||||||
#%config /etc/ozwwebapp/*
|
#%config /etc/ozwwebapp/*
|
||||||
|
|
||||||
%pre
|
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre zabbix-stat.service lmbd.service
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
%service_add_post zabbix-stat.service lmbd.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun zabbix-stats.ervice lmbd.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
%service_del_postun zabbix-stats.ervice lmbd.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue