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
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
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
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
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,
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
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
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 =
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,
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
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
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
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
> 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.
> 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
> 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
> 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.
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]
>
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
19 matches
Mail list logo