2019-11-21 12:29:22 +00:00
|
|
|
[Unit]
|
|
|
|
# To configure this service, please use the following command
|
|
|
|
# to create an override configuration:
|
|
|
|
# systemctl edit albatross_console.service
|
|
|
|
Description=Albatross console daemon (albatross_console)
|
2020-11-26 11:06:28 +00:00
|
|
|
Requires=albatross_console.socket
|
2019-11-21 12:29:22 +00:00
|
|
|
After=syslog.target
|
2020-04-03 14:34:30 +00:00
|
|
|
|
2019-11-21 12:29:22 +00:00
|
|
|
[Service]
|
|
|
|
Type=simple
|
2020-04-03 14:34:30 +00:00
|
|
|
User=albatross
|
2020-11-26 11:06:28 +00:00
|
|
|
ExecStart=/usr/local/sbin/albatross-console --systemd-socket-activation --tmpdir="%t/albatross/" -vv
|
2019-11-21 12:29:22 +00:00
|
|
|
RuntimeDirectoryPreserve=yes
|
2020-04-03 14:34:30 +00:00
|
|
|
RuntimeDirectory=albatross
|
|
|
|
ExecStartPre=/bin/mkdir -p %t/albatross/fifo
|
|
|
|
ExecStartPre=/bin/chmod 2770 %t/albatross/fifo
|
|
|
|
ExecStartPre=/bin/mkdir -p %t/albatross/util
|
2019-11-21 12:29:22 +00:00
|
|
|
PIDFile=%t/albatross/console.pid
|
2020-04-03 14:34:30 +00:00
|
|
|
RestrictAddressFamilies=AF_UNIX
|
2019-11-21 12:29:22 +00:00
|
|
|
|
|
|
|
[Install]
|
2020-11-26 11:06:28 +00:00
|
|
|
Also=albatross_console.socket
|
2019-11-21 12:29:22 +00:00
|
|
|
WantedBy=multi-user.target
|