yavdr-ansible/roles/yavdr-common/templates/system-sleep_yavdr.j2
2018-10-27 14:46:53 +02:00

14 lines
226 B
Django/Jinja

#!/bin/sh
{{ ansible_managed | comment }}
case $1 in
pre)
/bin/systemctl stop vdr
/usr/local/bin/module-helper -u dvb_core
;;
post)
/usr/local/bin/module-helper -r
/bin/systemctl start vdr
;;
esac