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)
|
Description=Albatross log daemon (albatross_log)
|
||||||
After=syslog.target albatross_console.service
|
After=syslog.target albatross_console.service
|
||||||
Requires=albatross_console.socket
|
Requires=albatross_console.socket
|
||||||
|
AssertPathExists=/var/lib/albatross/albatross.log
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=albatross
|
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
|
ExecStart=/usr/local/sbin/albatross-log --systemd-socket-activation --logfile="/var/lib/albatross/albatross.log" --tmpdir="%t/albatross/" -vv
|
||||||
RuntimeDirectory=albatross albatross/util
|
RuntimeDirectory=albatross albatross/util
|
||||||
#RuntimeDirectoryPreserve=yes # avoid albatross.log being cleaned up
|
#RuntimeDirectoryPreserve=yes # avoid albatross.log being cleaned up
|
||||||
|
|
Loading…
Reference in a new issue