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

--- Comment #9 from Terry Fage <[email protected]> ---
just played with 51koozali file following still works

[Unit]
ConditionPathExists=!/usr/vpnserver/do_not_run

[Service]
EnvironmentFile=
ExecStart=
ExecStop=
EnvironmentFile=-/usr/vpnserver
ExecStart=/usr/bin/vpnserver start
ExecStop=/usr/bin/vpnserver stop
ReadWriteDirectories=-/usr/vpnserver

[Install]
WantedBy=sme-server.target
key is perhaps the - EnvironmentFile=-/usr/vpnserver entry
certainly all relevat files and dirs are created in the /usr/vpnserver
directory

[root@sme10a5 ~]# cd /usr/vpnserver

[root@sme10a5 vpnserver]# ll -a
total 3968
drwxr-xr-x 6 root root 287 Jan 25 19:06 .
drwxr-xr-x. 17 root root 220 Jan 25 18:02 ..
drwx------ 2 root root 142 Jan 25 19:01 backup.vpn_server.config
-rw------- 1 root root 11 Jan 25 19:01 .ctl_3E649A678269D4A01B73BF9E3388D075
-rw------- 1 root root 2009025 Jan 21 02:50 hamcore.se2
-rw------- 1 root root 867 Jan 25 18:14 lang.config
drwx------ 2 root root 6 Jan 25 18:14 packet_log
-rw------- 1 root root 5 Jan 25 19:01 .pid_3E649A678269D4A01B73BF9E3388D075
drwx------ 3 root root 21 Jan 25 18:14 security_log
drwx------ 2 root root 30 Jan 25 18:14 server_log
-rw------- 1 root root 0 Jan 25 19:01 .VPN-EA1D67A3FB
-rwxr-xr-x 1 root root 2021496 Jan 21 02:50 vpnserver
-rw------- 1 root root 13460 Jan 25 19:06 vpn_server.config

-- 
You are receiving this mail because:
You are the assignee 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