Files
openlan/dist/rootfs/usr/lib/systemd/system/openlan-switch.service
2025-04-11 06:24:05 +08:00

14 lines
270 B
Desktop File
Executable File

[Unit]
Description=OpenLAN Central Switch daemon
After=network.target
[Service]
Type=notify
EnvironmentFile=/etc/sysconfig/openlan/switch.cfg
ExecStart=/var/openlan/script/switch.sh start $OPTIONS
LimitNOFILE=102400
Restart=always
[Install]
WantedBy=multi-user.target