Re: [systemd-devel] Service fails to start with no log messages

2020-01-06 Thread Jeffrey Walton
On Mon, Jan 6, 2020 at 9:35 PM Reindl Harald wrote: > > Am 07.01.20 um 02:57 schrieb Jeffrey Walton: > > To fix my ordering problem I need Systemd to stop lying about when the > > network is ready. > > one last comment: > > whatever crap you did ending in the ord

Re: [systemd-devel] Service fails to start with no log messages

2020-01-06 Thread Jeffrey Walton
On Mon, Jan 6, 2020 at 9:13 PM Reindl Harald wrote: > > Am 07.01.20 um 03:06 schrieb Jeffrey Walton: > > On Mon, Jan 6, 2020 at 9:03 PM Reindl Harald wrote: > >> > >> Am 07.01.20 um 02:57 schrieb Jeffrey Walton: > >>> On Mon, Jan 6, 2020 at 8:56 PM Rei

Re: [systemd-devel] Service fails to start with no log messages

2020-01-06 Thread Jeffrey Walton
On Mon, Jan 6, 2020 at 9:03 PM Reindl Harald wrote: > > Am 07.01.20 um 02:57 schrieb Jeffrey Walton: > > On Mon, Jan 6, 2020 at 8:56 PM Reindl Harald wrote: > >> > >> Am 07.01.20 um 02:42 schrieb Jeffrey Walton: > >>> On Mon, Jan 6, 2020 at 8:34 PM Rei

Re: [systemd-devel] Service fails to start with no log messages

2020-01-06 Thread Jeffrey Walton
On Mon, Jan 6, 2020 at 8:56 PM Reindl Harald wrote: > > Am 07.01.20 um 02:42 schrieb Jeffrey Walton: > > On Mon, Jan 6, 2020 at 8:34 PM Reindl Harald wrote: > >> > >> Am 07.01.20 um 02:28 schrieb Jeffrey Walton: > >>> I'm trying to determine my service

Re: [systemd-devel] Service fails to start with no log messages

2020-01-06 Thread Jeffrey Walton
On Mon, Jan 6, 2020 at 8:34 PM Reindl Harald wrote: > > Am 07.01.20 um 02:28 schrieb Jeffrey Walton: > > I'm trying to determine my service fails to start. I copied the > > service to the systemd unit directory, and then enabled and started > > the service. Upon reboot th

Re: [systemd-devel] Service fails to start with no log messages

2020-01-06 Thread Jeffrey Walton
On Mon, Jan 6, 2020 at 8:34 PM Reindl Harald wrote: > > Am 07.01.20 um 02:28 schrieb Jeffrey Walton: > > I'm trying to determine my service fails to start. I copied the > > service to the systemd unit directory, and then enabled and started > > the service. Upon reboot th

[systemd-devel] Service fails to start with no log messages

2020-01-06 Thread Jeffrey Walton
I'm trying to determine my service fails to start. I copied the service to the systemd unit directory, and then enabled and started the service. Upon reboot the service is not started automatically. Here are the logs: $ journalctl -e | grep callboot Jan 06 20:25:33 raspberrypi systemd[1]:

Re: [systemd-devel] Where are the places systemd logs?

2020-01-06 Thread Jeffrey Walton
On Mon, Jan 6, 2020 at 7:49 PM Reindl Harald wrote: > > > > Am 07.01.20 um 01:43 schrieb Jeffrey Walton: > > On Mon, Jan 6, 2020 at 7:41 PM Reindl Harald wrote: > >> > >> Am 07.01.20 um 01:34 schrieb Jeffrey Walton: > >>> I am missing infor

Re: [systemd-devel] Where are the places systemd logs?

2020-01-06 Thread Jeffrey Walton
On Mon, Jan 6, 2020 at 7:41 PM Reindl Harald wrote: > > Am 07.01.20 um 01:34 schrieb Jeffrey Walton: > > I am missing information about my services. I've got dead services without > > logs. > > > > Where are the places systemd logs? > > journalctl unless yo

[systemd-devel] Where are the places systemd logs?

2020-01-06 Thread Jeffrey Walton
I am missing information about my services. I've got dead services without logs. Where are the places systemd logs? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[systemd-devel] Verbose output from systemctl?

2020-01-06 Thread Jeffrey Walton
Hi Everyone, I'm trying to install a service. The script is failing with: + systemctl enable callboot-monitor.service Failed to enable unit: File callboot-monitor.service: Invalid argument + exit 1 The man page does not list an option for verbose output, and there is no -v option.

[systemd-devel] List service units for dependency tracking?

2019-12-27 Thread Jeffrey Walton
Hi Everyone, I have three services I need to automatically start sometime around boot in a mostly unattended environment. My services depend on other services, like the USB bus and GUI environment. My question is, how can I list the various service units to determine what I can use for Wants=

Re: [systemd-devel] How to handle staged installs with a Systemd unit?

2019-12-26 Thread Jeffrey Walton
On Thu, Dec 26, 2019 at 7:28 PM Jeffrey Walton wrote: > > On Thu, Dec 26, 2019 at 3:01 PM Mantas Mikulėnas wrote: > > > > On Thu, Dec 26, 2019 at 9:29 PM Jeffrey Walton wrote: > >> > >> On Thu, Dec 26, 2019 at 9:35 AM Mantas Mikulėnas wrote: > >>

Re: [systemd-devel] How to handle staged installs with a Systemd unit?

2019-12-26 Thread Jeffrey Walton
On Thu, Dec 26, 2019 at 3:01 PM Mantas Mikulėnas wrote: > > On Thu, Dec 26, 2019 at 9:29 PM Jeffrey Walton wrote: >> >> On Thu, Dec 26, 2019 at 9:35 AM Mantas Mikulėnas wrote: >> > >> > On Thu, Dec 26, 2019 at 2:46 PM Jeffrey Walton wrote: >> &g

Re: [systemd-devel] How to handle staged installs with a Systemd unit?

2019-12-26 Thread Jeffrey Walton
On Thu, Dec 26, 2019 at 9:35 AM Mantas Mikulėnas wrote: > > On Thu, Dec 26, 2019 at 2:46 PM Jeffrey Walton wrote: >> >> Hi Everyone, >> >> My program package includes a systemd timer and service. I was able to >> setup my Makefile for a regular install

[systemd-devel] How to handle staged installs with a Systemd unit?

2019-12-26 Thread Jeffrey Walton
Hi Everyone, My program package includes a systemd timer and service. I was able to setup my Makefile for a regular install using the daemons web page (https://www.freedesktop.org/software/systemd/man/daemon.html). My question is, how should I handle a staged install using DESTDIR? Specifically,

[systemd-devel] Stop systemd timer upon success script and restart the next day

2019-05-15 Thread Jeffrey Walton
I have a systemd timer that starts a service, and the service executes a script that downloads data files once a day. Once the data files are retrieved I don't need the timer for the remainder of the day. However, I need the time again the next day. Here are the two docs I found on scheduling a

[systemd-devel] Schedule reboot in *.service file

2019-05-15 Thread Jeffrey Walton
Hi Everyone, I have a systemd timer that fires early in the morning. The timer starts a systemd service, and the service checks for updates using the package manager. If updates are found then they are applied. The service runs fine and is shown below. The tail of the service schedules a reboot