Answer the question
In order to leave comments, you need to log in
How to configure SoftEther VPN Server autostart via systemd?
Created a systemd unit
[Unit]
Description=SoftEther VPN Server
After=network.target
[Service]
Type=forking
ExecStart=/opt/vpnserver/vpnserver start
ExecStop=/opt/vpnserver/vpnserver stop
[Install]
WantedBy=multi-user.target
innserv: warning: script missing LSB tags
Answer the question
In order to leave comments, you need to log in
I would do it like this: I stupidly stole a unit file from the Internet, and did not write it from scratch.
It is also very good to write on what operating system the action takes place, because. systemd distributions to hell.
As for the root cause, I still assume that something is missing in the environment. As opposed to running through the user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question