mirror of
https://github.com/rclone/rclone.git
synced 2024-11-24 17:34:57 +01:00
aed77a8fb2
The latter is more portable, while the former only works on systems where /bin/bash exists (or is symlinked appropriately).
18 lines
165 B
Bash
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
|