[Unit] Description=Lotus Minecraft player count as the bridge bot's Matrix status After=network-online.target Wants=network-online.target [Service] Type=simple ExecStart=/usr/bin/python3 -I /opt/lotus-mc-status/lotus_mc_status.py Environment=LOTUS_MC_HOST=10.10.10.78 Environment=LOTUS_MC_PORT=25565 LoadCredential=bridge-config:/var/lib/pelican/volumes/5476addf-384e-4f49-baa6-303e05719e9f/config/minecraftmatrixbridge.toml DynamicUser=yes NoNewPrivileges=yes ProtectSystem=strict ProtectHome=yes PrivateTmp=yes Restart=always RestartSec=30 [Install] WantedBy=multi-user.target