net-tools/smart-lan-router/smart-lan-router.service.tmpl

16 lines
373 B
Cheetah
Raw Normal View History

[Unit]
Description=net-tools fleet agent (smart-lan-router) — pull, discover, render
Documentation=file://@REPO@/README.md
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 @REPO@/smart-lan-router/smart-lan-router.py
Restart=always
RestartSec=10
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target