mirror of
https://github.com/YunoHost-Apps/etherpad_ynh.git
synced 2024-09-03 18:36:10 +02:00
Update systemd.service
This commit is contained in:
parent
d9cc8b8203
commit
b77a139202
1 changed files with 3 additions and 2 deletions
|
@ -1,12 +1,13 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Etherpad-lite: collaborative editor
|
Description=Etherpad-lite: collaborative editor
|
||||||
After=syslog.target network.target postgresql.service
|
After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
|
Environment=ETHERPAD_PRODUCTION=true
|
||||||
Environment="NODE_ENV=production"
|
Environment="NODE_ENV=production"
|
||||||
Environment="__YNH_NODE_LOAD_PATH__"
|
Environment="__YNH_NODE_LOAD_PATH__"
|
||||||
ExecStart=__INSTALL_DIR__/src/bin/run.sh
|
ExecStart=__INSTALL_DIR__/src/bin/run.sh
|
||||||
|
|
Loading…
Add table
Reference in a new issue