ai is dumb
This commit is contained in:
parent
e8e974d221
commit
4ef20cb640
|
|
@ -8,7 +8,10 @@
|
|||
"dev": "env BUN_HOT=1 bun --hot src/server.tsx",
|
||||
"deploy": "./scripts/deploy.sh",
|
||||
"push": "./scripts/deploy.sh",
|
||||
"setup": "./scripts/setup.sh"
|
||||
"setup": "./scripts/setup.sh",
|
||||
"remote:start": "./scripts/start.sh",
|
||||
"remote:stop": "./scripts/stop.sh",
|
||||
"remote:restart": "./scripts/restart.sh"
|
||||
},
|
||||
"alias": {
|
||||
"@utils": "./src/utils.tsx",
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ User=chris
|
|||
WorkingDirectory=/home/chris/pluto
|
||||
Environment=PORT=80
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=/usr/local/bin/bun start
|
||||
ExecStart=/home/chris/.bun/bin/bun start
|
||||
Restart=on-failure
|
||||
RestartSec=2
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||
|
|
|
|||
2
scripts/restart.sh
Executable file
2
scripts/restart.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
ssh chris@nose-pluto.local "sudo systemctl restart nose-pluto.service"
|
||||
2
scripts/start.sh
Executable file
2
scripts/start.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
ssh chris@nose-pluto.local "sudo systemctl start nose-pluto.service"
|
||||
2
scripts/stop.sh
Executable file
2
scripts/stop.sh
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
ssh chris@nose-pluto.local "sudo systemctl stop nose-pluto.service"
|
||||
Loading…
Reference in New Issue
Block a user