Fixing cpeweb service in case of failure

This commit is contained in:
Fafner [_KeyZee_] 2021-12-15 21:34:02 +01:00 committed by GitHub
parent 958b33fb7a
commit 75fb53ccbc
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)
Group=$(CPE_USER)
Type=simple
Restart=always
Restart=on-failure
StandardOutput=append:/var/log/cpeweb_message.log
StandardError=append:/var/log/cpeweb_error.log