albertodonato / sshoot

Manage sshuttle VPN sessions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sshoot systemd service

lihnjo opened this issue · comments

Ciao Alberto,

Is possible to use sshoot auto-reconnect via systemd service and could you provide systemd script?

Best,

Edin

Hi Edin,
sshoot is currently meant as a user-driven CLI, as it doesn't have an always-running service.

Integrating it with systemd is definitely an interesting feature, but probably requires non-trivial changes to the tool as it would require a "system-wide" mode.

At the moment I'd suggest if you need an awalys-running sshuttle instance to just add a systemd job that runs sshuttle with the same (or similar) command line as sshoot would.

IMHO, you @lihnjo can create own simple oneshot systemd service by yourself.