Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203048

Re: systemd+anacron breaks cron jobs

From Michael Biebl <biebl@debian.org>
Newsgroups linux.debian.user
Subject Re: systemd+anacron breaks cron jobs
Date 2018-12-05 11:10 +0100
Message-ID <x1ChX-ET-17@gated-at.bofh.it> (permalink)
References (2 earlier) <x1Azv-81W-5@gated-at.bofh.it> <x1BlU-5N-7@gated-at.bofh.it> <x1BFg-cu-11@gated-at.bofh.it> <x1ChX-ET-11@gated-at.bofh.it> <x1ChX-ET-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Am 05.12.18 um 10:47 schrieb Kamil Jońca:
> Michael Biebl <biebl@debian.org> writes:
> 
>> Am 05.12.18 um 10:04 schrieb Kamil Jońca:
>>> Michael Biebl <biebl@debian.org> writes:
>>
>>>>>  which in turn, can break ALL your "user" units)
>>>>
>>>> I'd be interested to know, what exactly you have in mind here. I'm not
>>>> aware of such a breakage.
>>>
>>> For example: I have (--user)
>>> kj-keepassx.service - my own service with keepasx
>>> xscreensaver-monitor.service - my own service which to monitor screensaver
>>>
>>> These services should NOT be run withoud graphical login.
>>
>> If those services are tied to a X login session, they should not be
>> started via systemd --user (at least, not yet)
>>
>> Let me go into a bit more detail.
>>
>>
>> There is only ever *one* systemd --user instance per user. It is
>> typically started, the first time you log in and stopped, once there is
>> no more active login session for a particular user.
>>
> [...snip...]
> I knew all you wrote.
> So I my question still is:
> 
> How can I:
> 1. start services only with graphical login and

You can't. At least not yet. Use ~/.config/autostart
This is what I trying to explain.

> 2. start timers irrespective of graphical login.

If you want them to be started during boot, use enable-linger


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 08:00 +0100
  Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 09:00 +0100
    Re: systemd+anacron breaks cron jobs kjonca@fastmail.com (Kamil Jońca) - 2018-12-05 09:20 +0100
      Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 10:10 +0100
        Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 10:30 +0100
          Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:10 +0100
            Re: systemd+anacron breaks cron jobs kjonca@fastmail.com (Kamil Jońca) - 2018-12-05 11:10 +0100
              Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:10 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:20 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 11:30 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 11:50 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 12:00 +0100
                Re: systemd+anacron breaks cron jobs Michael Biebl <biebl@debian.org> - 2018-12-05 12:40 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 12:50 +0100
                Re: systemd+anacron breaks cron jobs Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-12-05 19:00 +0100
                Re: systemd+anacron breaks cron jobs kjonca@poczta.onet.pl (Kamil Jońca) - 2018-12-05 19:20 +0100
                Re: systemd+anacron breaks cron jobs Cindy-Sue Causey <butterflybytes@gmail.com> - 2018-12-05 19:40 +0100

csiph-web