[Unit] Description=VPN Router status web service Documentation=file:/usr/share/doc/vpn-router/README.md After=network-online.target postgresql.service Wants=network-online.target [Service] Type=simple ExecStartPre=/usr/lib/vpn-router/wait-for-libpq ExecStart=/usr/bin/python3 /usr/lib/vpn-router/web TimeoutStartSec=5min Restart=on-failure RestartSec=15 NoNewPrivileges=yes ProtectSystem=strict ReadWritePaths=-/run/vpn-router -/etc/vpn-router -/etc/swanctl/x509crl ProtectHome=yes PrivateTmp=yes [Install] WantedBy=multi-user.target