Sfoglia il codice sorgente

added a command to reload the systemd daemon

master
Wouter Horlings 6 anni fa
parent
commit
8e5c0e012b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      systemd_timer_files/settimer.sh

+ 2
- 0
systemd_timer_files/settimer.sh Vedi 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…
Annulla
Salva