[main] @type = longrun @version = 0.0.2 @description = "networkmanager daemon" @user = ( root ) @extdepends = ( dbus ) [start] @execute = ( execl-cmdline -s { NetworkManager ${cmd_args} } ) [environment] # Necessary switches are either -d or -n. -n is for --no-daemon, # -d is for --debug. -d is preferred as it directs log output to # the stdout as well as syslog. cmd_args=!-d