Re: [systemd-devel] Fwd: best way to handle service restarts after hibernate/suspend?

2013-08-08 Thread killermoehre
Am 08.08.2013 08:12, schrieb 孙冰: I use this: [Unit] Description=Wicd sleep hook Before=sleep.target StopWhenUnneeded=yes [Service] Type=oneshot RemainAfterExit=yes ExecStart=-/usr/share/wicd/daemon/suspend.py

Re: [systemd-devel] Feature wish - auto-complete

2013-06-18 Thread killermoehre
Am 18.06.2013 15:44, schrieb David Lambert: As I am lazy I would love to see the auto-complete feature implemented in systemd CLI. Dave. Hi Dave, Well, I have autocompletion for systemctl, journalctl, loginctl, *ctl, etc. Are you sure bash-completion is installed and enabled? Regards

[systemd-devel] automatic name resolution of nspawn-machines

2015-03-03 Thread killermoehre
Hi, I'm running systemd-219 on arch linux. The setup is as follows: - Host (laptop in changing networks) with multiple NICs - unbound as caching DNS proxy on the host listening on any interface - NetworkManager for wireless control - several nspawn-machines using the default

Re: [systemd-devel] How to get used to systemd vs init

2015-06-23 Thread killermoehre
Am 24.06.2015 um 02:00 schrieb Chad: On 6/23/2015 4:45 PM, Ronny Chevalier wrote: On Wed, Jun 24, 2015 at 1:37 AM, Chad ccolu...@gmail.com wrote: Oh, wait this is the reverse of what I want/need (systemd-sysv-generator goes from init.d to systemd, I need from systemd to init.d). I have a

Re: [systemd-devel] httpd.service daemon failing to start on Manjaro Linux

2015-08-18 Thread killermoehre
Am 18.08.2015 um 16:24 schrieb Brenton Horne: Hi, I've been following this guide https://wiki.archlinux.org/index.php/MediaWiki to install MediaWiki 1.25.2 on my Manjaro Linux machine. I managed to follow the guide, without errors until I reached the stage of restarting httpd.service,

Re: [systemd-devel] Method to Wait for service to complete

2015-08-12 Thread killermoehre
Am 12.08.2015 um 20:34 schrieb Harry Goldschmitt: I have a service that has to complete before boot can continue. Is there an “approved” method for doing this? I have an ugly solution I’ve come up with… I’ve created a foo.target to run my foo.service and set the default.target to my

Re: [systemd-devel] Options for logging from service started before journald?

2015-10-18 Thread killermoehre
Am 18.10.2015 um 17:05 schrieb Andrei Borzenkov: > What can be done to log from unit that needs to be started before > journald? Journal, syslog or kmsg all require journald connection and as > far as I understand will deadlock on waiting for journald to accept it. > NULL is not an option; is tty

Re: [systemd-devel] Monitor path to commit to git

2016-04-08 Thread killermoehre
Am 07.04.2016 um 20:11 schrieb Florian Lindner: > Hello, > I want to have a unit that monitors a path and commits automatically to > git whenever something changes. It usually works, like that: > > # cat git-commit@.service > [Unit] > Description=Automatic commit for %f > > [Service] > Type =

Re: [systemd-devel] Automount some dirs at user ligin

2016-05-18 Thread killermoehre
Am 18.05.2016 um 21:14 schrieb Vasiliy Tolstov: > I need to mount tmpfs on .cache for each user after login. > How can I do that with systemd? > S > For example I want for user1 mount tmpfs on dir .cache, for user2 mount > .cache to tmpfs also and so on. > After logout last session for this user,

Re: [systemd-devel] mounting the root file system using systemd unit file

2016-05-15 Thread killermoehre
r.target > EOF > > ``` > > ...or is there a better "systemd way" to do it? > > > -- Ben Hi Ben, according to the systemd.mount man page, »In general, configuring mount points through /etc/fstab is the preferred approach«. So /etc/fstab is already the systemd wa

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread killermoehre
Am 01.07.2016 um 16:44 schrieb wolfgang.wag...@riwa-gis.de: > Hello list, > > > > after days of reading man-pages and searching the web i have no solution > to my problem, and I am lost in the documentation. > > My system is Debian Jessie 8.5, upgraded from wheezy 7.11. With Debian > wheezy

Re: [systemd-devel] How to mount NFS prior to start postgresql from this volume

2016-07-01 Thread killermoehre
Am 01.07.2016 um 17:29 schrieb killermoehre: > Am 01.07.2016 um 16:44 schrieb wolfgang.wag...@riwa-gis.de: >> Hello list, >> >> >> >> after days of reading man-pages and searching the web i have no solution >> to my problem, and I am lost in the document

Re: [systemd-devel] Can a systemd --user instance rely on After= of systemd --system instance?

2017-02-25 Thread killermoehre
Am 25.02.2017 um 18:34 schrieb Patrick Schleizer: > Hi, > > I read, that a systemd --user instance cannot use Requires=. > > But what about After=? Can a systemd --user instance use > After=some-system.service? > > Cheers, > Patrick Hi Patrick, no, --user instances know nothing about the --system

Re: [systemd-devel] Disabling cpufreq/boost at boot time sometimes fails

2022-07-13 Thread killermoehre
> This must explain why my modprobe.d (of acpi_cpufreq) seems to always work > but not why tmpfiles.d or a .service unit : Actually, your modprobe.d is much too late, if I understand correctly. The used power manager module/options are set during the kernel start and can’t be changed later.

Re: [systemd-devel] Some questions on userdbd and providing a compatible service

2022-11-24 Thread killermoehre
> Am 24.11.2022 um 00:58 schrieb Dominik George : > > Hi, > > for some time now, I have been investigating how to best make a > desktop system talk to a web API (HTTP, REST) for user management, so > NSS and PAM make HTTP requests to an API to verify authentication > (using OIDC) and to retrieve

Re: [systemd-devel] rc-local.service and its future in systemd?

2023-04-24 Thread killermoehre
> Am 24.04.2023 um 12:20 schrieb Aki Ketolainen : > >> as Lennard already told you in the GitHub issue that "last" just doesn't >> make sense in systemd, there is also no need to change the dependencies >> global for everyone. Especially as there are systems out there which doesn't >> have

Re: [systemd-devel] rc-local.service and its future in systemd?

2023-04-24 Thread killermoehre
> Am 24.04.2023 um 10:57 schrieb Aki Ketolainen : > > Hi, > I noticed in Rocky Linux 8.7 LXC container image that they've added a message > to /etc/rc.d/rc.local: > # In contrast to previous versions due to parallel execution during boot > # this script will NOT be run after all other services.

Re: [systemd-devel] rc-local.service and its future in systemd?

2023-04-24 Thread killermoehre
Am 24.04.2023 um 12:52 schrieb Aki Ketolainen : >> This totally depends on the unit you wrote. Without it, we can't help. In >> general, ignore and forget the run level concept. >> BR >> Silvio > > I only changed these settings in rc-local.service: > > [Unit] >

Re: [systemd-devel] Questions about initrd environment services and IgnoreOnIsolate

2024-05-13 Thread killermoehre
Hi, may I ask why you need your own .service to load the module instead of using modules-load.d and modprobe.d? Just to understand your problem better. BR Silvio