2025-01-30 15:43:45 -05:00
|
|
|
[Unit]
|
|
|
|
Description=Create network namespace and tun device to %I
|
|
|
|
After=nnss-ssh@%i.service
|
|
|
|
Requires=nnss-ssh@%i.service
|
|
|
|
StopWhenUnneeded=yes
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
|
|
|
Type=notify
|
|
|
|
NotifyAccess=all
|
|
|
|
|
2025-02-27 11:05:11 -05:00
|
|
|
RuntimeDirectory=nnssA%i
|
2025-01-30 15:43:45 -05:00
|
|
|
|
|
|
|
ExecStart=/usr/lib/nnss/tunsocks.sh "%i" setup
|
|
|
|
ExecStop=/usr/lib/nnss/tunsocks.sh "%i" cleanup
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|