/etc/init/ssh-property-watcher.conf is in lxc-android-config 0.230+16.04.20160328-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | start on android-container persist.service.ssh=*
task
script
VAL=$(env | grep persist.service.ssh=)
case ${VAL##*=} in
true)
start ssh
;;
false)
stop ssh
;;
esac
end script
|