Re: [systemd-devel] timesyncd on systems without battery

2021-01-15 Thread Dan Tihelka
Hallo, thank you for your advice. Option 1 seems to work without problems now. DT Dne pondělí 4. ledna 2021 16:36:16 CET, Lennart Poettering napsal(a): > On So, 03.01.21 10:39, Dan Tihelka (dtihe...@gmail.com) wrote: > > Hello, > > I run systemd on a NAS without internal-clock-

[systemd-devel] timesyncd on systems without battery

2021-01-03 Thread Dan Tihelka
Hello, I run systemd on a NAS without internal-clock-holding battery, so I think that the systemd-timesyncd sets the time to the last known value after restart and syncs it from the network when on-line. Is it right? Now, I have a shutdown timer unit, which powers the NAS off at the given time.

Re: [systemd-devel] systemd-tmpfiles for the user instance of systemd

2015-07-28 Thread Dan Tihelka
On Tuesday 28 of July 2015 03:31:08 Lennart Poettering wrote: > On Sat, 04.07.15 13:23, Tomasz Torcz (to...@pipebreaker.pl) wrote: > > On Fri, Jul 03, 2015 at 08:31:42PM +0200, Lennart Poettering wrote: > > > On Wed, 01.07.15 12:35, Daniel Tihelka (dtihe...@gmail.com) wrote: > > > > Hello, > > > >

[systemd-devel] Mounting cifs per-user

2014-02-01 Thread Dan Tihelka
Hello all, I have rather generic idea/question which probably not solvable yet. I, as an ordinary user, would like to mount cifs share (but it can generally be extended to any other "dynamic" media) on-demand to a given path (preferably /run/mount/UID/mycifs/). Currently, mount -t cifs ... must

[systemd-devel] systemd + ssh-agent

2013-02-18 Thread Dan Tihelka
Hello, from time to time I must connect through ssh to mu work desktop and make some synchronization, which requires ssh key-based authentication (so ssh from home to work desktop, followed by ssh from desktop to another server, e.g. svn). What I was faced is the inability to use ssh-agent when

Re: [systemd-devel] Starting/stopping service on net connection

2012-10-18 Thread Dan Tihelka
m I completely mistaken? Thank you, Dan P.S.I think it could possibly be achieved through files as well, using systemd.path (although it not as elegant). I am not sure about stopping the service, however ... On Monday 15 of October 2012 17:51:18 Lennart Poettering wrote: > On S

[systemd-devel] Starting/stopping service on net connection

2012-10-14 Thread Dan Tihelka
Hallo, just a short question, sorry if it seems "stupid", I am just curious. And google does not provide satisfactory answers (or I didn't ask the right question) So: is there a robust and reliable way of starting/stopping a service when a net connection is established/lost? And I mean also th

[systemd-devel] Best way of configuring service

2012-09-23 Thread Dan Tihelka
Dear all, I porting the start scripts of cruisecontrol system to the native systemd service configuration. It goes quiet well, the only "trouble" I have with the options configuration. Since cruisecontrol is written in Java, there are two ways of how to configure the daemon (and CC use them bot