moved helper daemonization

add abillity to own users org.netctlgui.helper service
This commit is contained in:
arcan1s
2014-08-12 00:23:11 +04:00
parent 80f6ccf1d1
commit 3e0ae6d4cc
8 changed files with 24 additions and 34 deletions

View File

@ -36,6 +36,8 @@ NetctlHelper::NetctlHelper(QObject *parent, QMap<QString, QVariant> args)
debug(args[QString("debug")].toBool())
{
updateConfiguration();
if (!args[QString("nodaemon")].toBool())
daemon(0, 0);
}