15 lines
320 B
SYSTEMD
15 lines
320 B
SYSTEMD
|
[Unit]
|
||
|
Description=Accton MiniPack Platform Monitoring service
|
||
|
Before=pmon.service
|
||
|
After=sysinit.target
|
||
|
DefaultDependencies=no
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
ExecStart=/usr/local/bin/accton_minipack_util.py install
|
||
|
ExecStop=/usr/local/bin/accton_minipack_util.py clean
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|