Commit 6cade8ad authored by Julien Muchembled's avatar Julien Muchembled

systemd: drop everything from standard output/error (mostly OpenVPN errors)

parent 5fad7c1b
...@@ -7,6 +7,7 @@ WorkingDirectory=/etc/re6stnet ...@@ -7,6 +7,7 @@ WorkingDirectory=/etc/re6stnet
# systemd plans to implement "something like ConditionExec= or ExecStartPre= without failure state" (cf its TODO file) # systemd plans to implement "something like ConditionExec= or ExecStartPre= without failure state" (cf its TODO file)
ExecStart=/bin/sh -c 'set re6stnet @re6stnet.conf; "$@" --test main_interface==\"lo\" || exec "$@"' ExecStart=/bin/sh -c 'set re6stnet @re6stnet.conf; "$@" --test main_interface==\"lo\" || exec "$@"'
Restart=on-failure Restart=on-failure
StandardOutput=null
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment