ansible/roles/s6-rc/templates/scan.j2

8 lines
204 B
Text
Raw Normal View History

2020-09-13 17:38:41 -05:00
#!/bin/sh -e
export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
2022-07-03 19:41:15 -05:00
scan_dir="{{ s6_scan_dir }}"
2020-09-13 17:38:41 -05:00
2022-07-03 19:41:15 -05:00
install -d -o root -g wheel -m 755 -- "$scan_dir"
exec s6-svscan "$scan_dir"