We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23a09c0 commit 6387282Copy full SHA for 6387282
conf/note.service
@@ -1,10 +1,12 @@
1
[Unit]
2
-Description=daily-problem daemon
+Description=note daemon
3
4
[Service]
5
-ExecStart=cd /home/chaosi/server/note && npm install && npm run dev -- --port 7001
+Type=simple
6
Restart=always
7
RestartSec=4s500ms
8
+WorkingDirectory=/home/chaosi/server/note/
9
+ExecStart=/usr/local/bin/npm run dev -- --port 7001
10
11
[Install]
-WantedBy=multi-user.target
12
+WantedBy=multi-user.target
0 commit comments