Merge pull request #8 from FafnerKeyZee/patch-1

Fixing cpeweb service in case of failure
This commit is contained in:
Alexandre Dulaunoy 2022-05-08 15:26:18 +02:00 committed by GitHub
commit 5b5ecace85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ ExecStart=python3 server.py
User=$(CPE_USER) User=$(CPE_USER)
Group=$(CPE_USER) Group=$(CPE_USER)
Type=simple Type=simple
Restart=always Restart=on-failure
StandardOutput=append:/var/log/cpeweb_message.log StandardOutput=append:/var/log/cpeweb_message.log
StandardError=append:/var/log/cpeweb_error.log StandardError=append:/var/log/cpeweb_error.log