little fixes replace os.system with check_call

first steps in install Script add wg_start.service file
This commit is contained in:
2024-09-08 20:31:46 +02:00
parent 607589d44a
commit 35406026f0
6 changed files with 109 additions and 56 deletions

10
wg_start.service Normal file
View File

@ -0,0 +1,10 @@
[Unit]
Description=Automatic Tunnel Start
After=network-online.target
[Service]
Type=oneshot
ExecStartPre=/bin/sleep 3
ExecStart=/bin/start_wg.py
[Install]
WantedBy=multi-user.target