Systemd services depend on their sockets
This commit is contained in:
parent
99a992b3c4
commit
b2b9ddcdef
|
@ -3,6 +3,7 @@
|
|||
# to create an override configuration:
|
||||
# systemctl edit albatross_console.service
|
||||
Description=Albatross console daemon (albatross_console)
|
||||
Requires=albatross_console.socket
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Unit]
|
||||
Description=Albatross VMM daemon (albatrossd)
|
||||
Requires=albatross_console.socket albatross_log.socket
|
||||
Requires=albatross_console.socket albatross_log.socket albatross_daemon.socket
|
||||
After=syslog.target albatross_console.service albatross_log.service
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# systemctl edit albatross_log.service
|
||||
Description=Albatross log daemon (albatross_log)
|
||||
After=syslog.target albatross_console.service
|
||||
Requires=albatross_console.socket
|
||||
Requires=albatross_console.socket albatross_log.socket
|
||||
AssertPathExists=/var/lib/albatross/albatross.log
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
# to create an override configuration:
|
||||
# systemctl edit albatross_stat.service
|
||||
Description=Albatross stat daemon (albatross_stat)
|
||||
Requires=albatross_stat.socket
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
|
|
Loading…
Reference in a new issue