Skip to content

Commit

Permalink
s6 (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen authored Aug 28, 2023
1 parent 1d546d6 commit 734d534
Show file tree
Hide file tree
Showing 15 changed files with 13 additions and 4 deletions.
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/s6-rc.d/01-pfclient/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oneshot
2 changes: 2 additions & 0 deletions rootfs/etc/s6-overlay/s6-rc.d/01-pfclient/up
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec /etc/s6-overlay/scripts/01-pfclient
Empty file.
2 changes: 2 additions & 0 deletions rootfs/etc/s6-overlay/s6-rc.d/logwatcher/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec /etc/s6-overlay/scripts/logwatcher
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/s6-rc.d/logwatcher/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
longrun
Empty file.
2 changes: 2 additions & 0 deletions rootfs/etc/s6-overlay/s6-rc.d/pfclient/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
exec /etc/s6-overlay/scripts/pfclient
1 change: 1 addition & 0 deletions rootfs/etc/s6-overlay/s6-rc.d/pfclient/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
longrun
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/command/with-contenv bash
# shellcheck shell=bash

# Check to make sure the correct command line arguments have been set
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/command/with-contenv bash
#shellcheck shell=bash

sleep 5
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/command/with-contenv bash
#shellcheck shell=bash

# Test pfclient can run natively (without qemu)
Expand Down
2 changes: 1 addition & 1 deletion rootfs/scripts/healthcheck.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
#!/command/with-contenv bash

# Import healthchecks-framework
# shellcheck disable=SC1091
Expand Down

0 comments on commit 734d534

Please sign in to comment.