15 lines
299 B
Django/Jinja
15 lines
299 B
Django/Jinja
[Unit]
|
|
Description=PPTP Ivacy VPN
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/sbin/pppd call {{ gateway.ivacy.config_name|default('ivacy') }}
|
|
ExecStartPost=/usr/local/bin/verify_ip.sh
|
|
TimeoutStartSec=120
|
|
Restart=on-failure
|
|
RestartSec=600
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|