Currently running the service script we see the message:
sudo: sorry, you must have a tty to run sudo
This commit fixes the problem.
Changed all `sudo` calls to `su --session-command=...`
Can't reproduce it and init file moved to main repo. Thanks for the PR, nonetheless!