Re: [systemd-devel] Restarting nmb.service from within a program

2015-11-03 Thread Paul D. DeRocco
> From: Mantas Mikulenas [mailto:graw...@gmail.com] > > Pretty sure it's documented: > > http://www.freedesktop.org/wiki/Software/systemd/dbus/ > > http://www.freedesktop.org/wiki/Software/systemd/hostnamed/ > > and so on. Thanks. D-Bus looks like the correct way to do it. -- Ciao,

Re: [systemd-devel] Restarting nmb.service from within a program

2015-11-03 Thread Mantas Mikulėnas
On Tue, Nov 3, 2015 at 9:44 PM, Paul D. DeRocco wrote: > I have a Yocto embedded system running a simple Samba 4 server, using > systemd. I'm relying on the system hostname being the default netbios > name, and I need to be able to change the hostname, and therefore the > netbios name, from withi

Re: [systemd-devel] Restarting nmb.service from within a program

2015-11-03 Thread Reindl Harald
Am 03.11.2015 um 20:44 schrieb Paul D. DeRocco: I have a Yocto embedded system running a simple Samba 4 server, using systemd. I'm relying on the system hostname being the default netbios name, and I need to be able to change the hostname, and therefore the netbios name, from within my main app

[systemd-devel] Restarting nmb.service from within a program

2015-11-03 Thread Paul D. DeRocco
I have a Yocto embedded system running a simple Samba 4 server, using systemd. I'm relying on the system hostname being the default netbios name, and I need to be able to change the hostname, and therefore the netbios name, from within my main application. I write the new hostname to /etc/hostname,