Creation of hwmonDaemon and service files
This commit is contained in:
13
hwmon.service
Normal file
13
hwmon.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=System Health Monitoring Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/env python3 -c "import urllib.request; exec(urllib.request.urlopen('https://10.10.10.58/JWS/hwmonDaemon/raw/branch/main/hwmonDaemon.py').read().decode('utf-8'))"
|
||||
Restart=always
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user