Skip to content

Commit

Permalink
Force the creation of the symlink. Can be already present in case the…
Browse files Browse the repository at this point in the history
… service is restarted.
  • Loading branch information
jlesage committed Jul 17, 2017
1 parent 3db4179 commit 3a422b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/etc/services.d/autovideoconverter/run
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3a422b9

Please sign in to comment.