fea: add ceci service.
Some checks are pending
Coverage CI / build (push) Waiting to run
CodeQL / Analyze (go) (push) Waiting to run
Ubuntu CI / build (push) Waiting to run

This commit is contained in:
Daniel Ding
2025-01-02 10:53:55 +08:00
parent 6733a719e0
commit 2b2b737e87
10 changed files with 32 additions and 63 deletions

View File

@@ -0,0 +1,11 @@
[Unit]
Description=OpenLAN Ceci daemon for %I
After=network.target
[Service]
Type=notify
ExecStart=/usr/bin/openlan-ceci $OPTIONS -conf /etc/openlan/switch/ceci/%i.yaml
Restart=always
[Install]
WantedBy=multi-user.target

View File

@@ -1,16 +0,0 @@
[Unit]
Description=OpenLAN Switch Database Unit
After=syslog.target network-pre.target
Before=network.target network.service
[Service]
Type=forking
PIDFile=/var/openlan/confd/confd.pid
Restart=on-failure
EnvironmentFile=-/etc/sysconfig/openlan/confd
ExecStart=/var/openlan/script/confd.sh start --detach
ExecStop=/var/openlan/script/confd.sh stop
[Install]
WantedBy=multi-user.target

View File

@@ -1,13 +0,0 @@
[Unit]
Description=OpenLAN Proxy daemon
After=network.target
[Service]
Type=notify
EnvironmentFile=/etc/sysconfig/openlan/proxy.cfg
ExecStart=/usr/bin/openlan-proxy $OPTIONS
LimitNOFILE=102400
Restart=always
[Install]
WantedBy=multi-user.target

View File

@@ -1,5 +1,5 @@
[Unit]
Description=OpenLAN Virtual Switch daemon
Description=OpenLAN Central Switch daemon
After=network.target
Requires=openlan-confd.service