add port to systemd
This commit is contained in:
parent
ee2ebf8ffa
commit
dd72530e34
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ Type=simple
|
|||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=__FINALPATH__/
|
||||
ExecStart=pm2 start __FINALPATH__/server/server.js --name uptime-kuma
|
||||
ExecStart=pm2 start server/server.js -- --port=__PORT__ --name uptime-kuma
|
||||
ExecStop=pm2 stop uptime-kuma
|
||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||
StandardError=inherit
|
||||
|
|
Loading…
Add table
Reference in a new issue