26 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
27 |
mirror://${PNAME}/rsyslog.conf |
mirror://${PNAME}/rsyslog.conf |
28 |
mirror://${PNAME}/rsyslog.logrotate |
mirror://${PNAME}/rsyslog.logrotate |
29 |
mirror://${PNAME}/ryslog.rc |
mirror://${PNAME}/rsyslog.rc |
30 |
mirror://${PNAME}/ryslog.confd |
mirror://${PNAME}/rsyslog.confd |
31 |
mirror://${PNAME}/${PNAME}-${PVER}-systemd.patch |
mirror://${PNAME}/${PNAME}-${PVER}-systemd.patch |
32 |
) |
) |
33 |
|
|
180 |
mstartservice rsyslog |
mstartservice rsyslog |
181 |
|
|
182 |
# enable systemd units |
# enable systemd units |
183 |
if [[ ${MROOT} = / ]] || [[ -z ${MROOT} ]] |
mstartunit rsyslog.service |
|
then |
|
|
if [[ -x /bin/systemctl ]] |
|
|
then |
|
|
systemctl enable rsyslog.service |
|
|
fi |
|
|
fi |
|
184 |
} |
} |
185 |
|
|
186 |
postremove() |
postremove() |
188 |
mstopservice rsyslog |
mstopservice rsyslog |
189 |
|
|
190 |
# disable systemd units |
# disable systemd units |
191 |
if [[ ${MROOT} = / ]] || [[ -z ${MROOT} ]] |
mstopunit rsyslog.service |
|
then |
|
|
if [[ -x /bin/systemctl ]] |
|
|
then |
|
|
systemctl disable rsyslog.service |
|
|
fi |
|
|
fi |
|
192 |
} |
} |