Skip to content

Commit

Permalink
Fully rename to devzat
Browse files Browse the repository at this point in the history
  • Loading branch information
quackduck committed Apr 8, 2022
1 parent 59bde57 commit 6f1864d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*.DS_Store
.vscode
/devchat
/devzat
.idea
/dist
slackAPI.txt*
Expand Down
2 changes: 1 addition & 1 deletion Admin's Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ While you can use the same key pair that your user account has, it is recommende
## Usage

```shell
./devchat # use without "./" for a global binary
./devzat # use without "./" for a global binary
```

Devzat listens on port 2221 for new SSH connections by default. Users can now join using `ssh -p 2221 <server-hostname>`.
Expand Down
10 changes: 5 additions & 5 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
echo Started
scp -o StrictHostKeyChecking=no -P 4242 *.yml *.go go.sum go.mod admins.json [email protected]:~/devchat
scp -o StrictHostKeyChecking=no -P 4242 *.yml *.go go.sum go.mod [email protected]:~/devzat
echo Copied files
ssh -o StrictHostKeyChecking=no -p 4242 [email protected] <<EOL # Unquote so lines are expanded
cd ~/devchat
cd ~/devzat
go build && echo Built
echo $SERVER_PASS | sudo -S pkill devchat && echo Killed
echo $SERVER_PASS | sudo -S pkill devzat && echo Killed
sleep 2
echo $SERVER_PASS | sudo -S pkill -9 devchat && echo Killed with SIGKILL
echo $SERVER_PASS | nohup sudo -S GOMAXPROCS=2 ./devchat > /dev/null 2>&1 </dev/null &
echo $SERVER_PASS | sudo -S pkill -9 devzat && echo Killed with SIGKILL
echo $SERVER_PASS | nohup sudo -S GOMAXPROCS=2 ./devzat > /dev/null 2>&1 </dev/null &
echo Started server
disown
exit
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module devchat
module devzat

go 1.17

Expand Down
File renamed without changes.

0 comments on commit 6f1864d

Please sign in to comment.