projects
/
stakingWatchdog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a98ad1b
)
Activate command to stop and start the service.
author
Greg Burri
<greg.burri@gmail.com>
Mon, 2 Oct 2023 21:20:26 +0000
(23:20 +0200)
committer
Greg Burri
<greg.burri@gmail.com>
Mon, 2 Oct 2023 21:20:26 +0000
(23:20 +0200)
deploy.nu
patch
|
blob
|
history
diff --git
a/deploy.nu
b/deploy.nu
index
b8fb962
..
f97e6ce
100644
(file)
--- a/
deploy.nu
+++ b/
deploy.nu
@@
-27,9
+27,10
@@
def main [host: string, destination: string, ssh_key: path] {
cargo zigbuild --target $target
}
cargo zigbuild --target $target
}
-
#
invoke_ssh $"sudo systemctl stop ($app_name)"
+ invoke_ssh $"sudo systemctl stop ($app_name)"
copy_ssh ./target/($target)/($build)/($app_name) $destination
invoke_ssh $"chmod u+x ($destination)/($app_name)"
copy_ssh ./target/($target)/($build)/($app_name) $destination
invoke_ssh $"chmod u+x ($destination)/($app_name)"
- # invoke_ssh $"sudo systemctl start ($app_name)"
+ invoke_ssh $"sudo systemctl start ($app_name)"
+
print "Deployment finished"
}
\ No newline at end of file
print "Deployment finished"
}
\ No newline at end of file