This aims to fix #49 ! But with every solution, comes a new problem, so here's a list of "Problem : solution", chronologically :
wireguard@.service will stay active after exit, preventing the path to start it again : remove RemainAfterExit.
wireguard@.service have an ExecStop command, which will run every time after startup if it doesn't RemainAfterExit : remove the ExecStop.
wireguard@wg0.service can't be stopped from yunohost service stop or the webadmin : change the service integration to use directly wg-quick@wg0.service instead.
PR Status
This needs to be tested manually.
Manually tested and working great o/
[x] Code finished and ready to be reviewed/tested
[x] The fix/enhancement were manually tested (if applicable)
Problems and solutions
This aims to fix #49 ! But with every solution, comes a new problem, so here's a list of "Problem : solution", chronologically :
wireguard@.service
will stay active after exit, preventing thepath
to start it again : removeRemainAfterExit
.wireguard@.service
have anExecStop
command, which will run every time after startup if it doesn'tRemainAfterExit
: remove theExecStop
.wireguard@wg0.service
can't be stopped fromyunohost service stop
or the webadmin : change the service integration to use directlywg-quick@wg0.service
instead.PR Status
This needs to be tested manually.Manually tested and working great o/Automatic tests