Re: [systemd-devel] Starting an unit in user mode for all users

2018-06-26 Thread Mantas Mikulėnas
On Wed, Jun 27, 2018 at 7:32 AM Peter Hoeg wrote: > > Great point, I noticed. I work-arounded that by making the unit wanted > by dbus. > > Systemd already comes with units for this: > > - graphical-session.target > - graphical-session-pre.target > Oh right, it does now? Those would be

Re: [systemd-devel] Starting an unit in user mode for all users

2018-06-26 Thread Mantas Mikulėnas
On Wed, Jun 27, 2018 at 7:17 AM Alberto Salvia Novella < es204904...@gmail.com> wrote: > Great point, I noticed. I work-arounded that by making the unit wanted by > dbus. > dbus has the same properties – it starts before any sessions and is shared across sessions. -- Mantas Mikulėnas

[systemd-devel] network config file - [Match] by AccessPointName, AccessPointMAC

2018-06-26 Thread Amish
Hello, Is there a way to do a [Match] in .network file to match wireless AccessPoint (by Name or MAC)? The reason is I go to 2-3 companies (plus home/friend's home wifi). 2 places dont have DHCP server ON; on wifi router but asks to set pre-defined static IP. Other places have DHCP

Re: [systemd-devel] Starting an unit in user mode for all users

2018-06-26 Thread Peter Hoeg
Great point, I noticed. I work-arounded that by making the unit wanted by dbus. Systemd already comes with units for this: - graphical-session.target - graphical-session-pre.target -- Regards, Peter ___ systemd-devel mailing list

Re: [systemd-devel] Starting an unit in user mode for all users

2018-06-26 Thread Mantas Mikulėnas
On Wed, Jun 27, 2018, 01:11 Alberto Salvia Novella wrote: > I'm writing a SystemD service for a daemon that it only works in user > mode. Its name is Xiccd . > > The problem I’m having is that either I can enable the service as system > wide, or per

Re: [systemd-devel] Starting an unit in user mode for all users

2018-06-26 Thread Peter Hoeg
Thanks for your help. I guess the only way is by creating the symlink manually, isn't it? The global flag is your friend: systemctl enable --user --global name_of_unit -- Regards, Peter ___ systemd-devel mailing list

Re: [systemd-devel] Starting an unit in user mode for all users

2018-06-26 Thread Alberto Salvia Novella
Thanks for your help. I guess the only way is by creating the symlink manually, isn't it? Alberto smime.p7s Description: S/MIME Cryptographic Signature ___ systemd-devel mailing list

[systemd-devel] Starting an unit in user mode for all users

2018-06-26 Thread Alberto Salvia Novella
I'm writing a SystemD service for a daemon that it only works in user mode. Its name is Xiccd . The problem I’m having is that either I can enable the service as system wide, or per user. But I cannot enable it in user mode for all users, only

Re: [systemd-devel] systemd version of an inittab entry -- for VT100 terminal

2018-06-26 Thread Michael Asher
Thank you very much. How do I change the settings from vt220 to vt100 and the baud rate to 115200? Thanks again - Michael Asher, Omron Delta Tau -Original Message- From: Lennart Poettering Sent: Tuesday, June 26, 2018 12:54 PM To: Michael Asher Cc:

Re: [systemd-devel] systemd version of an inittab entry -- for VT100 terminal

2018-06-26 Thread Lennart Poettering
On Di, 26.06.18 19:29, Michael Asher (mas...@deltatau.com) wrote: > On SysV we set up a terminal/serial interface on our motion-controllers using > /etc/inittab, see below. > >/etc/inittab > # How to put a getty on a serial line (for a terminal) > T0:23:respawn:/sbin/getty -L

[systemd-devel] systemd version of an inittab entry -- for VT100 terminal

2018-06-26 Thread Michael Asher
On SysV we set up a terminal/serial interface on our motion-controllers using /etc/inittab, see below. /etc/inittab # How to put a getty on a serial line (for a terminal) T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100 I have made a few attempts to do this with systemd none have

Re: [systemd-devel] systemd-nspawn: where is my container root?

2018-06-26 Thread Nikolaus Rath
Hi, That makes sense.. but is there any way to find out *globally* what devices are mounted in *any* namespace? Best, -Nikolaus On Jun 23 2018, Ryan Gonzalez wrote: > It's probably a private mountpoint, meaning that no one outside of > systemd-nspawn and it's children can see it. If you need