mirror of
https://github.com/Fishwaldo/LEDMessageBoard.git
synced 2025-03-15 19:31:32 +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
|
||||
#%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
|
||||
|
|
Loading…
Add table
Reference in a new issue