Browse Source
specify full path in ExecStart
this commit also will fix the invalid paths for the systemctl template
pull/246/head
Simon Cheng
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
bin/wetty.service
|
|
@ -10,8 +10,7 @@ After=network.target |
|
|
|
|
|
|
|
[Service] |
|
|
|
|
|
|
|
WorkingDirectory=$HOME/.config/yarn/global/node_modules/wetty/ |
|
|
|
ExecStart=/usr/bin/node app.js -p 3000 --host 127.0.0.1 |
|
|
|
ExecStart=/usr/bin/node $HOME/.config/yarn/global/node_modules/wetty/index.js -p 3000 --host 127.0.0.1 |
|
|
|
|
|
|
|
[Install] |
|
|
|
WantedBy=multi-user.target |
|
|
|