mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Update systemd.service
This commit is contained in:
parent
e233fd28a2
commit
38d9b65c91
1 changed files with 2 additions and 3 deletions
|
@ -4,13 +4,12 @@ After=network.target postgresql.service redis-server.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Environment=NODE_ENV=production
|
|
||||||
|
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__/
|
WorkingDirectory=__FINALPATH__/
|
||||||
|
Environment="NODE_ENV=production"
|
||||||
ExecStart=__FINALPATH__/script
|
ExecStart=__FINALPATH__/script
|
||||||
### TODO : ADD SERVER START
|
ExecStart=/usr/bin/yarn start
|
||||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||||
StandardError=inherit
|
StandardError=inherit
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue