mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update cryptpad.service
This commit is contained in:
parent
6bed751aee
commit
dd714cb356
1 changed files with 3 additions and 2 deletions
|
@ -5,11 +5,12 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=_USER_
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
WorkingDirectory=_DIRECTORY_
|
||||
ExecStart=/usr/bin/node server.js --port _PORT_
|
||||
Restart=always
|
||||
Environment=USER=_APP_ HOME=_DIRECTORY_
|
||||
Environment=USER=__APP__ HOME=_DIRECTORY_
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue