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