Commit 73b78206 authored by Franco Fichtner's avatar Franco Fichtner

configd: roll back env(1) usage; FreeBSD's service(8)

refuses to take /usr/local/bin into account, which kind of defeats
the purpose of using the portable "env" command...
parent e2276435
...@@ -24,7 +24,7 @@ configd_load_rc_config() ...@@ -24,7 +24,7 @@ configd_load_rc_config()
required_files="" required_files=""
command_args="${required_args}" command_args="${required_args}"
command=/usr/local/opnsense/service/configd.py command=/usr/local/opnsense/service/configd.py
command_interpreter="/usr/bin/env python2.7" command_interpreter=/usr/local/bin/python2.7
} }
# #
......
#!/usr/bin/env python2.7 #!/usr/local/bin/python2.7
""" """
Copyright (c) 2014 Ad Schellevis Copyright (c) 2014 Ad Schellevis
......
#!/usr/bin/env python2.7 #!/usr/local/bin/python2.7
""" """
Copyright (c) 2015 Ad Schellevis Copyright (c) 2015 Ad Schellevis
......
#!/usr/bin/env python2.7 #!/usr/local/bin/python2.7
# original source from https://github.com/thesharp/daemonize # original source from https://github.com/thesharp/daemonize
......
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