temporary fix for issue #3

Added a Restart=on-failure on the systemd service.
Now, after an error, the service will restart,
and this time it should not exit with an error.
This will make naxalnet.service work until #3
is fixed.
This commit is contained in:
Pranav Jerry 2021-06-10 09:15:58 +05:30
parent 7e8f9e8417
commit 7e513b8475
No known key found for this signature in database
GPG Key ID: F1DCDC4FED0A0C5B

View File

@ -15,6 +15,8 @@ After=wpa_supplicant.service
[Service]
Type=oneshot
RemainAfterExit=yes
# Temporary (maybe permanent) fix to aborting after changing to ad-hoc
Restart=on-failure
ExecStart=/usr/bin/naxalnet
[Install]