update v9
This commit is contained in:
15
grpcbalancer/grpc-balancer.service
Normal file
15
grpcbalancer/grpc-balancer.service
Normal file
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=GRPC Balancer Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
Environment=PYTHONUNBUFFERED=1
|
||||
ExecStart=/usr/bin/python3 /usr/local/bin/grpcbalancer.py
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user