From 3a422b9da3bd9eeff327ea0275f38df97d5794fb Mon Sep 17 00:00:00 2001 From: Jocelyn Le Sage Date: Sat, 15 Jul 2017 20:43:00 -0400 Subject: [PATCH] Force the creation of the symlink. Can be already present in case the service is restarted. --- rootfs/etc/services.d/autovideoconverter/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/etc/services.d/autovideoconverter/run b/rootfs/etc/services.d/autovideoconverter/run index 20ec298..c98a3fb 100755 --- a/rootfs/etc/services.d/autovideoconverter/run +++ b/rootfs/etc/services.d/autovideoconverter/run @@ -4,7 +4,7 @@ set -u # Treat unset variables as an error. # Make sure we appear with a proper name under `ps`. if [ ! -L "$0" ]; then - ln -s run "$(dirname "$0")/autovideoconverter" + ln -sf run "$(dirname "$0")/autovideoconverter" exec "$(dirname "$0")/autovideoconverter" "$@" fi