Re: [systemd-devel] not able to access system service from session service

2018-08-20 Thread deepan muthusamy
re application which i have to start as session service in > etc/systemd/user by giving command "systemctl --user start > mysession.service". > > My session.service has dependency on mysystem.service, so I mentioned in > Requires and After comm

Re: [systemd-devel] systemd oneshot service stop on shutdown problem

2018-08-20 Thread Ryan Gonzalez
Maybe /tmp is getting cleared or unmounted first? What happens if you put the script somewhere else? On Mon, Aug 20, 2018, 6:48 PM Filipe Brandenburger wrote: > On Mon, Aug 20, 2018 at 4:00 PM Radoslaw Garbacz > wrote: > > Could you please advise me with regard to systemd configuration for > se

[systemd-devel] systemd oneshot service stop on shutdown problem

2018-08-20 Thread Radoslaw Garbacz
Hi, Could you please advise me with regard to systemd configuration for service type=oneshot. It does not execute stop on shutdown/reboot, but works as intended when called manually. Online discussions indicate that the configuration below should be working. 1) service configuration: [Unit] Desc

Re: [systemd-devel] Not able to access system device from session service

2018-08-20 Thread Silvio Knizek
Am Montag, den 20.08.2018, 19:22 +0530 schrieb deepan muthusamy: > I started one application as system service in /etc/systemd/system by > giving command "systemctl start mysystem.service". > I have one more application which i have to start as session service > in etc/systemd/user by giving comma

[systemd-devel] Not able to access system device from session service

2018-08-20 Thread deepan muthusamy
I started one application as system service in /etc/systemd/system by giving command "systemctl start mysystem.service". I have one more application which i have to start as session service in etc/systemd/user by giving command "systemctl --user start mysession.service". My session.service has d

[systemd-devel] Enforcing journald diskspace limit.

2018-08-20 Thread Frédéric HILPERT
Hi, I have a question about systemd. Not wanting to create an issue on githbub because there are already plenty and this may not be a bug. I have a 1GB /var/log/ partition (on a stock Centos 7) and set SystemMaxUse=150M in journald configuration. When I restart journald I have this message :