Re: Syntax check for a new service?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 26 Feb 2022 09:17:38 -0600
Tom Browder <tom.browder@xxxxxxxxx> wrote:
> Is there any way to get a plain syntax check of a potential new
> service file?

systemd-analyze verify FILE...

https://www.freedesktop.org/software/systemd/man/systemd-analyze.html

> I currently check it by installing, reloading, and enabling, and then
> getting a status check where I see the service isn't running and I see
> multiple messages:
> 
>      [in black text]*:N: Missing '='
>      [in red text]*:N: Failed to parse sec value, ignoring: always
> 
> I can include my current file if you'd like.
> 
> I'm running Debian Buster (10) fully updated.
> 
> Thanks.
> 
> -Tom



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux