blob: 7d5b0da041484f62cdeb117cdf1efa824419e42c (
plain)
1
2
3
4
5
6
7
8
9
|
if [ -d /run/systemd/system ]; then
systemctl --system daemon-reload >/dev/null || true
if [ -n "$2" ]; then
_dh_action=restart
else
_dh_action=start
fi
deb-systemd-invoke $_dh_action #UNITFILES# >/dev/null || true
fi
|