AssertPathExists belongs under [Unit]
And not [Service].
This commit is contained in:
parent
f79ed78a2b
commit
99a992b3c4
|
@ -5,11 +5,11 @@
|
|||
Description=Albatross log daemon (albatross_log)
|
||||
After=syslog.target albatross_console.service
|
||||
Requires=albatross_console.socket
|
||||
AssertPathExists=/var/lib/albatross/albatross.log
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=albatross
|
||||
AssertPathExists=/var/lib/albatross/albatross.log
|
||||
ExecStart=/usr/local/sbin/albatross-log --systemd-socket-activation --logfile="/var/lib/albatross/albatross.log" --tmpdir="%t/albatross/" -vv
|
||||
RuntimeDirectory=albatross albatross/util
|
||||
#RuntimeDirectoryPreserve=yes # avoid albatross.log being cleaned up
|
||||
|
|
Loading…
Reference in a new issue