瀏覽代碼

added a command to reload the systemd daemon

master
Wouter Horlings 6 年之前
父節點
當前提交
8e5c0e012b
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      systemd_timer_files/settimer.sh

+ 2
- 0
systemd_timer_files/settimer.sh 查看文件

@@ -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…
取消
儲存