apisix/ssl_manager/systemd/apisix-route-watcher.service

18 lines
408 B
Desktop File

[Unit]
Description=APISIX Route Watcher Service
After=network.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /home/jingrow/apisix/ssl_manager/route_watcher.py
Restart=always
RestartSec=10
User=root
StandardOutput=journal
StandardError=journal
Environment="APISIX_ADMIN_URL=http://localhost:9180"
Environment="APISIX_ADMIN_KEY=8206e6e42b6b53243c52a767cc633137"
[Install]
WantedBy=multi-user.target