[Unit] Description=Motorizzazione Cisco anyconnect After=network.target [Service] #Type=oneshot #RemainAfterExit=yes Type=simple Restart=always RestartSec=3 EnvironmentFile=/etc/openconnect/motorizzazione.env #ExecStart=/bin/bash -c "/usr/sbin/openconnect -u $user --servercert "$servercert" -b $url <<< $password" ExecStart=/bin/bash -c "/usr/sbin/openconnect -u $user --servercert "$servercert" $url <<< $password" [Install] WantedBy=multi-user.target