rclone/fstest/testserver/init.d/run.bash
Florian Klink aed77a8fb2 tree-wide: replace /bin/bash with /usr/bin/env bash
The latter is more portable, while the former only works on systems
where /bin/bash exists (or is symlinked appropriately).
2024-06-11 12:47:47 +01:00

18 lines
165 B
Bash

#!/usr/bin/env bash
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status
;;
*)
echo "usage: $0 start|stop|status" >&2
exit 1
;;
esac