fix server startup message
This commit is contained in:
1 parent
4d827948f8
commit
600e8a773f
4 files changed
+18
-8
No files matched your search
+11
-1
@@ -1,4 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
rsync -rti --delete --stats server/build/install/server/* /Users/hb/mnt/nas/Server/vol/kas/app
|
||||
function start_stop_server() {
|
||||
local cmd=$1
|
||||
ssh container@nathan systemctl --user $cmd kas_srv
|
||||
return $?
|
||||
}
|
||||
|
||||
function copy_to_server(){
|
||||
rsync -rti --delete --stats server/build/install/server/* /Users/hb/mnt/nas/Server/vol/kas/app
|
||||
return $?
|
||||
}
|
||||
|
||||
start_stop_server stop && copy_to_server && start_stop_server start
|
||||
Reference in new issue
Block a user