phosh service persistance
I would like to propose a patch for the systemd phosh service template... but I can't fork this repos nor make a merge request so here we go.
I encountered this unwanted behavior when working on the KGX terminal keyboard layout, before submitting a patch upstream
When phosh dies, because "oh no something went wrong [logout]", it dies and don't come back
The restart directive in phosh.service should be always
not on-failure
[Service]
Environment=LANG=C.UTF-8
ExecStart=/usr/bin/phosh
TimeoutStartSec=30
User=manjaro
PAMName=login
WorkingDirectory=/home/manjaro
########REMOVE######Restart=on-failure
Restart=always
RestartSec=5s
BTW I suspect some other services should be set like this.
( ping @philm )