parent
e66b55fd46
commit
bb3b511ef5
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Mysql Cluster Montior Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/yanei/cluster
|
||||
ExecStart=/home/yanei/miniconda3/bin/python ClusterMonitor.py
|
||||
User=root
|
||||
Group=root
|
||||
PermissionsStartOnly=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in new issue