mirror of
https://github.com/YunoHost-Apps/lemmy_ynh.git
synced 2024-09-03 19:36:09 +02:00
restart on failure
This commit is contained in:
parent
52d1db3a09
commit
a28ed29ba3
2 changed files with 4 additions and 0 deletions
|
@ -14,6 +14,8 @@ WorkingDirectory=__INSTALL_DIR__/lemmy-ui/
|
|||
ExecStart=__YNH_NODE__ dist/js/server.js
|
||||
StandardOutput=append:/var/log/__APP__/__APP__-ui.log
|
||||
StandardError=inherit
|
||||
Restart=on-failure
|
||||
RestartSec=1s
|
||||
|
||||
# Sandboxing options to harden security
|
||||
# Depending on specificities of your service/app, you may need to tweak these
|
||||
|
|
|
@ -11,6 +11,8 @@ WorkingDirectory=__INSTALL_DIR__/lemmy/
|
|||
ExecStart=__INSTALL_DIR__/lemmy/lemmy
|
||||
StandardOutput=append:/var/log/__APP__/__APP__.log
|
||||
StandardError=inherit
|
||||
Restart=on-failure
|
||||
RestartSec=1s
|
||||
|
||||
# Sandboxing options to harden security
|
||||
# Depending on specificities of your service/app, you may need to tweak these
|
||||
|
|
Loading…
Reference in a new issue