diff options
author | EuAndreh <eu@euandre.org> | 2018-03-23 20:38:44 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2018-03-23 20:49:09 -0300 |
commit | 4e734232c611890f616194ed5cfade2549e4491b (patch) | |
tree | 38e74c5f28aaa8ecc8c6cbff7836d919c8fa7a1b /scripts/once-only-nextcloud.sh | |
parent | Initial commit: add git-crypt .gitattributes file (diff) | |
download | dotfiles-4e734232c611890f616194ed5cfade2549e4491b.tar.gz dotfiles-4e734232c611890f616194ed5cfade2549e4491b.tar.xz |
Initial commit: now public (again)
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 |