Content-Length: 212103 | pFad | http://github.com/bulletmark/libinput-gestures/commit/eff4de7aa96029a6f763d308e36716126947e27d

CE Should reload systemd if service file has changed · bulletmark/libinput-gestures@eff4de7 · GitHub
Skip to content

Commit

Permalink
Should reload systemd if service file has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
bulletmark committed May 26, 2021
1 parent 0c4c9b3 commit eff4de7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions libinput-gestures-setup
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,13 @@ else
# Test if systemd is installed
if type systemctl &>/dev/null; then
HAS_SYSD=1
# Reload systemd if service file has been updated
if systemctl --user status $NAME.service 2>&1 |
grep -q ' changed on disk'; then
echo "$NAME.service has changed, reloading systemd user daemon .."
systemctl --user daemon-reload
sleep 2
fi
else
HAS_SYSD=0
fi
Expand Down

0 comments on commit eff4de7

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/bulletmark/libinput-gestures/commit/eff4de7aa96029a6f763d308e36716126947e27d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy