mirror of
https://github.com/rclone/rclone.git
synced 2024-12-21 11:06:55 +08: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
|