Browse Source

added a command to reload the systemd daemon

master
Wouter Horlings 6 years ago
parent
commit
8e5c0e012b
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      systemd_timer_files/settimer.sh

+ 2
- 0
systemd_timer_files/settimer.sh View File

@@ -44,6 +44,8 @@ SERVICENAME="$FILENAME.service"
replace_and_move $TIMERNAME $MAPPATH
replace_and_move $SERVICENAME $MAPPATH

echo "Reload systemd deamon"
`systemctl --user daemon-reload`
echo "Enable $TIMERNAME for systemd"
`systemctl --user enable $TIMERNAME`
echo "Start $TIMERNAME for systemd"


Loading…
Cancel
Save