systemd ships the
systemd-analyze command which has a
verify function that allows you to check the syntax of a
systemd unit file.
However, when I ran it today using
systemd v238, I get a message back that a disk file system was attmpted to be deleted. What's going on?
$ sudo systemd-analyze verify /etc/systemd/system/my.timer Attempted to remove disk file system, and we can't allow that