[systemd-devel] Monitor path to commit to git

2016-04-07 Thread 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 = oneshot Nice = 10 # git returns 1 if there is nothing to commit

[systemd-devel] java crashes only on boot

2014-12-21 Thread Florian Lindner
Hello, on my up to date Arch system I use Crashplan which is a java app for offsite backups. It used to work fine, until recently... When booting java dumps core: # systemctl status crashplan.service ● crashplan.service - CrashPlan Backup Service Loaded: loaded

Re: [systemd-devel] java crashes only on boot

2014-12-21 Thread Florian Lindner
Andrei Borzenkov wrote: В Sun, 21 Dec 2014 21:24:22 +0100 Florian Lindner mailingli...@xgm.de пишет: Hello, on my up to date Arch system I use Crashplan which is a java app for offsite backups. It used to work fine, until recently... When booting java dumps core: # systemctl status

Re: [systemd-devel] java crashes only on boot

2014-12-21 Thread Florian Lindner
Florian Lindner wrote: Hello, on my up to date Arch system I use Crashplan which is a java app for offsite backups. It used to work fine, until recently... When booting java dumps core: It certainly seems to some timing issue, adding ExecStartPre=/usr/bin/sleep 10 fixed it so far

Re: [systemd-devel] timesyncd: Frequent polling when no server could be reached

2014-08-26 Thread Florian Lindner
Another question I have is about the NTP status output of timedatectl. Right now (with ntpd running) it says: NTP enabled: yes NTP synchronized: no I suppose it need some more uptime than the 11 minutes I have currently? Possibly, ntpd needs to clear the STA_UNSYNC flag in

[systemd-devel] timesyncd: Frequent polling when no server could be reached

2014-08-21 Thread Florian Lindner
Hello, I tried out timesyncd today. Basically worked out of the box (disabled ntpd, enabling systemd-timesyncd and systemd-networkd, both unconfigured, side by side with NetworkManager). At my universities network they are blocking outgoing UDP why I can't reach any NTP timesyncd gives these

Re: [systemd-devel] Using path name in instantiated units

2014-08-20 Thread Florian Lindner
Andrei Borzenkov wrote: В Tue, 19 Aug 2014 22:08:26 +0200 Florian Lindner mailingli...@xgm.de пишет: Andrei Borzenkov wrote: В Tue, 19 Aug 2014 20:59:55 +0200 Florian Lindner mailingli...@xgm.de пишет: I also try to set up a matching timer: systemctl --user start git

Re: [systemd-devel] Using path name in instantiated units

2014-08-20 Thread Florian Lindner
Florian Lindner wrote: Andrei Borzenkov wrote: В Tue, 19 Aug 2014 22:08:26 +0200 Florian Lindner mailingli...@xgm.de пишет: Andrei Borzenkov wrote: В Tue, 19 Aug 2014 20:59:55 +0200 Florian Lindner mailingli...@xgm.de пишет: I also try to set up a matching timer

Re: [systemd-devel] Using path name in instantiated units

2014-08-20 Thread Florian Lindner
Anthony Messina wrote: On Wednesday, August 20, 2014 10:25:35 AM Florian Lindner wrote: [Timer] OnUnitActiveSec=5min OnActiveSec=5min AccuracySec = 5min I'm not sure it matters, but you have some extra spaces around = after AccuracySec. No, that shouldn't be the problem, I have changed

Re: [systemd-devel] Using path name in instantiated units

2014-08-20 Thread Florian Lindner
Lennart Poettering wrote: On Wed, 20.08.14 10:25, Florian Lindner (mailingli...@xgm.de) wrote: The timer I try to enable contains a Install section. florian@asaru ~/.config/systemd/user % cat git-commit@.timer [Unit] Description=Timer to commit all changes in instance. [Timer

[systemd-devel] Using path name in instantiated units

2014-08-19 Thread Florian Lindner
Hello, I have a systemd unit that should do a commit on a specific path. Since there are more then one path / repos, I want to use an instantiated unit for that (the stuff with @ in the unit name): ~/.config/systemd/user % cat git-commit@.service [Unit] Description=Auto commit for instance.

Re: [systemd-devel] Using path name in instantiated units

2014-08-19 Thread Florian Lindner
Andrei Borzenkov wrote: В Tue, 19 Aug 2014 19:34:46 +0200 Florian Lindner mailingli...@xgm.de пишет: It seems that using %i or %I to set the working directory does not work. bor@opensuse:~ sudo systemctl start foo@/home/bor.service bor@opensuse:~ cat /tmp/foo /home/bor %i=-home-bor

Re: [systemd-devel] Using path name in instantiated units

2014-08-19 Thread Florian Lindner
Andrei Borzenkov wrote: В Tue, 19 Aug 2014 20:59:55 +0200 Florian Lindner mailingli...@xgm.de пишет: I also try to set up a matching timer: systemctl --user start git-commit@/home/florian/timer.test.timer works fine, but: systemctl --user enable git-commit@/home/florian

[systemd-devel] Identical mount resulting in different options

2013-05-21 Thread Florian Lindner
Hello! I am on an Arch Linux machine. Kernel is 3.9.3 x86_64, systemd 204. I have two identical hard drives. Both have a gparted created GPT table and a CLI created ext4 filesystem with no options other than -L (label). Archiv_1 was created like two weeks before Archiv_2 (which was created