feat: 添加omc执行脚本的systemd服务
This commit is contained in:
9
linux/lib/systemd/system/omc-exec.service
Normal file
9
linux/lib/systemd/system/omc-exec.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=omc execute script daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/local/etc/omc/script/omc_exec.sh
|
||||
Type=oneshot
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
1
linux/usr/local/etc/omc/script/omc_exec.sh
Normal file
1
linux/usr/local/etc/omc/script/omc_exec.sh
Normal file
@@ -0,0 +1 @@
|
||||
#!/bin/bash
|
||||
Reference in New Issue
Block a user