Skip to content

Commit 6387282

Browse files
author
潘朝思
committed
feat: update deploy yaml
1 parent 23a09c0 commit 6387282

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

conf/note.service

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
[Unit]
2-
Description=daily-problem daemon
2+
Description=note daemon
33

44
[Service]
5-
ExecStart=cd /home/chaosi/server/note && npm install && npm run dev -- --port 7001
5+
Type=simple
66
Restart=always
77
RestartSec=4s500ms
8+
WorkingDirectory=/home/chaosi/server/note/
9+
ExecStart=/usr/local/bin/npm run dev -- --port 7001
810

911
[Install]
10-
WantedBy=multi-user.target
12+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)