Merge pull request #2094 from mm1ke/master

gns3.service.openrc: make openrc script posix compliant
pull/2123/head
Jeremy Grossmann 2 years ago committed by GitHub
commit 3634cc8307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -23,8 +23,8 @@ depend() {
checkconfig() {
if yesno "${GNS3_SERVER_LOG_ENABLED}" ; then
command_args+=" --log ${GNS3_SERVER_LOG}";
if [ "${command_user}" ] ; then
command_args="${command_args} --log ${GNS3_SERVER_LOG}";
if [ "${command_user}" ] ; then
checkpath --directory --mode 0700 --owner "${command_user}" "${GNS3_SERVER_LOG_PATH}";
else
unset command_user

Loading…
Cancel
Save