Ver código fonte

added a command to reload the systemd daemon

master
Wouter Horlings 6 anos atrás
pai
commit
8e5c0e012b
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      systemd_timer_files/settimer.sh

+ 2
- 0
systemd_timer_files/settimer.sh Ver arquivo

@@ -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"


Carregando…
Cancelar
Salvar