diff options
Diffstat (limited to 'scripts/once-only-nextcloud.sh')
-rwxr-xr-x | scripts/once-only-nextcloud.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/once-only-nextcloud.sh b/scripts/once-only-nextcloud.sh new file mode 100755 index 0000000..8400080 --- /dev/null +++ b/scripts/once-only-nextcloud.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ "$(pidof nextcloud)" ] +then + echo "Nextcloud already running." +else + echo "Nextcloud not running yet. Starting it." + nextcloud & disown +fi |