diff --git a/cron/sample_cron b/cron/sample_cron deleted file mode 100644 index 4d899be..0000000 --- a/cron/sample_cron +++ /dev/null @@ -1 +0,0 @@ -* * * * * abc /path/to/command/to/run.sh diff --git a/defaults/sample.conf b/defaults/sample.conf deleted file mode 100644 index 639bc6d..0000000 --- a/defaults/sample.conf +++ /dev/null @@ -1 +0,0 @@ -placeholder config file, delete in final container diff --git a/init/50_apt-update.sh b/init/50_apt-update.sh new file mode 100644 index 0000000..1c150f9 --- /dev/null +++ b/init/50_apt-update.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +apt-get update -qq +apt-get --only-upgrade install -yqq syncthing diff --git a/init/sample b/init/sample deleted file mode 100644 index 3305d6b..0000000 --- a/init/sample +++ /dev/null @@ -1,5 +0,0 @@ -#!/sample/file - -Do not use numbers 00,01,99 for sorting -Baseimage contains 10_add_user_abc.sh - \ No newline at end of file diff --git a/services/servicename/run b/services/servicename/run deleted file mode 100644 index 926a09f..0000000 --- a/services/servicename/run +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -exec /sbin/setuser abc "/command/to/execute" \ No newline at end of file diff --git a/services/syncthing/run b/services/syncthing/run new file mode 100644 index 0000000..f5c3178 --- /dev/null +++ b/services/syncthing/run @@ -0,0 +1,3 @@ +#!/bin/bash +umask 0000 +exec /sbin/setuser abc "syncthing -home=/config -no-browser -no-restart" \ No newline at end of file