Am 06.08.2018 um 20:52 schrieb Josh Triplett:
> (Note that putting a line in your cron entry to exit if under systemd still
> means cron needs to go run that script and have it exit, which is not ideal.)
It's maybe not ideal but what I would suggest. The recommended way to
check whether systemd is
Theodore Y. Ts'o wrote:
> Finally, if I have a systemd timer file, as well as a crontab entry,
> what is the recommended way to decide whether to install/use the
> crontab versus the timer unit file?
Unfortunately, there isn't a clean mechanism for that. For systemd unit files,
systemd's built-in
Theodore Y. Ts'o:
> On Sun, Aug 05, 2018 at 10:20:38PM +0100, Simon McVittie wrote:
>> On Sun, 05 Aug 2018 at 16:52:46 -0400, Theodore Y. Ts'o wrote:
>>> 1) Am I right in understanding that after modifying or adding any
>>>systemd unit or timer files, I must run "systemctl daemon-reload"?
>>
>>
On Mon, 2018-08-06 at 09:14 -0400, Theodore Y. Ts'o wrote:
[...]
> One of the reasons why I hadn't considered using dh_installinit or
> dh_installsystemd is because the patches submitted upstream for
> e2scrub[1] currently install the systemd unit as part of Makefile
> rules. I could move them out
On Sun, Aug 05, 2018 at 10:20:38PM +0100, Simon McVittie wrote:
> On Sun, 05 Aug 2018 at 16:52:46 -0400, Theodore Y. Ts'o wrote:
> > 1) Am I right in understanding that after modifying or adding any
> >systemd unit or timer files, I must run "systemctl daemon-reload"?
>
> Yes, but preferably v
On Sun, 05 Aug 2018 at 16:52:46 -0400, Theodore Y. Ts'o wrote:
> 1) Am I right in understanding that after modifying or adding any
>systemd unit or timer files, I must run "systemctl daemon-reload"?
Yes, but preferably via dh_installinit (if you also have a corresponding
LSB/sysvinit script, l
On Aug 05, "Theodore Y. Ts'o" wrote:
> 1) Am I right in understanding that after modifying or adding any
>systemd unit or timer files, I must run "systemctl daemon-reload"?
Yes.
> 2) How is this supposed to be done as part of a debian package
>install? Should the package maintainer scri
One of my packages is about to have some systemd unit and timer files
added to it.
Some questions:
1) Am I right in understanding that after modifying or adding any
systemd unit or timer files, I must run "systemctl daemon-reload"?
2) How is this supposed to be done as part of a debian packag
8 matches
Mail list logo