ai is dumb

This commit is contained in:
Chris Wanstrath 2025-09-16 20:52:32 -07:00
parent e8e974d221
commit 4ef20cb640
5 changed files with 11 additions and 2 deletions

View File

@ -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",

View File

@ -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
View 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
View 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
View File

@ -0,0 +1,2 @@
#!/usr/bin/env bash
ssh chris@nose-pluto.local "sudo systemctl stop nose-pluto.service"