mirror of
https://github.com/luscis/openlan.git
synced 2025-10-25 09:50:41 +08:00
fea: add ceci service.
This commit is contained in:
11
dist/rootfs/usr/lib/systemd/system/openlan-ceci@.service
vendored
Executable file
11
dist/rootfs/usr/lib/systemd/system/openlan-ceci@.service
vendored
Executable 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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -1,5 +1,5 @@
|
||||
[Unit]
|
||||
Description=OpenLAN Virtual Switch daemon
|
||||
Description=OpenLAN Central Switch daemon
|
||||
After=network.target
|
||||
Requires=openlan-confd.service
|
||||
|
||||
|
||||
Reference in New Issue
Block a user