[systemd-devel] Xorg or Wayland Environment

2021-09-18 Thread Ed Greshko
Not a everyday systemd service writer I've written a user service file to start an app on login.  It works well for Xorg with Environment=DISPLAY=:0. But I've found that under Wayland the DISPLAY=:1 after a logout of Xorg and login to a Wayland session. What would be the proper way to

Re: [systemd-devel] Examples to distinguish Before=/After= and Wants=/Requires=/BindsTo=

2021-09-18 Thread Lennart Poettering
On Fr, 17.09.21 19:04, Kenneth Porter (sh...@sewingwitch.com) wrote: 65;6402;1c > --On Friday, September 17, 2021 12:49 PM +0200 Lennart Poettering > wrote: > > > more specific example: you can use apache without mysql, and you can > > use mysql without apache, but quite often they are used

Re: [systemd-devel] when mount is delayed - start unit which depends on it - ?

2021-09-18 Thread Mantas Mikulėnas
On Fri, Sep 17, 2021 at 2:40 PM lejeczek wrote: > Hi guys. > > I'm trying to have unit to start... > well, > I have a luks device which waits for manual passphrase > input, when that happens 'systemd' mounts, without user > intervention(which is great), that luks device. > fstab: >

Re: [systemd-devel] masking --global, but allowing --user

2021-09-18 Thread Arseny Maslennikov
On Fri, Sep 17, 2021 at 07:02:14PM -0500, Matt Zagrabelny wrote: > Greetings, > > I believe the Debian package of mpd enables a --global .service and > .socket unit for the mpd daemon/service. > > I'd like to mask that and install it just to a single --user service. > > I've tried that: > >