팬 정책 데몬 전환과 관측 로그 정리
This commit is contained in:
1 parent
cfd5bb9b94
commit
309c10f1a1
4 files changed
+65
-11
No files matched your search
@@ -8,5 +8,5 @@ User=root
|
||||
Group=root
|
||||
WorkingDirectory=/var/www/control
|
||||
ExecStart=/usr/bin/php /var/www/control/bin/wifi_observe.php
|
||||
StandardOutput=append:/var/log/control-wifi-observe.log
|
||||
StandardError=append:/var/log/control-wifi-observe.log
|
||||
StandardOutput=null
|
||||
StandardError=journal
|
||||
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Apply fan panel policy daemon
|
||||
After=network-online.target mariadb.service
|
||||
Wants=network-online.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/var/www/control
|
||||
ExecStart=/usr/bin/php /var/www/control/apply_policy.php --daemon
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
StandardOutput=null
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user