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

8 lines
204 B
Plaintext
Raw Permalink Normal View History

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