https://bugs.contribs.org/show_bug.cgi?id=11326

--- Comment #27 from Terry Fage <[email protected]> ---
so install went OK, however
[root@sme10a5 ~]# systemctl status vpnserver ● vpnserver.service - SoftEther
VPN Server
Loaded: loaded (/usr/lib/systemd/system/vpnserver.service; enabled; vendor
preset: enabled)
Drop-In: /usr/lib/systemd/system/vpnserver.service.d
└─51koozali.conf
Active: inactive (dead) since Sat 2021-01-23 23:20:41 AEDT; 3min 33s ago

Jan 23 23:20:37 sme10a5.sme10a5.fage.org systemd[1]: Starting SoftEther VPN
Server...
Jan 23 23:20:41 sme10a5.sme10a5.fage.org vpnserver[1303]: -- Alert: SoftEther
VPN Kernel --
Jan 23 23:20:41 sme10a5.sme10a5.fage.org vpnserver[1303]: Unable to create
/usr/vpnserver/.VPN-EA1D67A3FB.
Jan 23 23:20:41 sme10a5.sme10a5.fage.org vpnserver[1581]: -- Alert: SoftEther
VPN Kernel --
Jan 23 23:20:41 sme10a5.sme10a5.fage.org vpnserver[1581]: Unable to create
/usr/vpnserver/.VPN-EA1D67A3FB.
Jan 23 23:20:41 sme10a5.sme10a5.fage.org systemd[1]: Started SoftEther VPN
Server.


/etc/systemd/system/sme-server.target.wants/vpnservice.service file

Unit]
Description=SoftEther VPN Server
After=network.target auditd.service
ConditionPathExists=!/opt/vpnserver/do_not_run

[Service]
Type=forking
EnvironmentFile=-/opt/vpnserver
ExecStart=/opt/vpnserver/vpnserver start
ExecStop=/opt/vpnserver/vpnserver stop
KillMode=process
Restart=on-failure

# Hardening
PrivateTmp=yes
ProtectHome=yes
ProtectSystem=full
ReadOnlyDirectories=/
ReadWriteDirectories=-/opt/vpnserver
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_BROADCAST
CAP_NET_RAW CAP_SYS_NICE CAP_SYS_ADMIN CAP_SETUID

[Install]
WantedBy=multi-user.target
still using the /opt directory

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to