[Unit] Description=Guanghu Enterprise Lighthouse Registry and Preflight After=network.target [Service] Type=simple User=lighthouse Group=lighthouse WorkingDirectory=/opt/guanghu-enterprise-lighthouse EnvironmentFile=/etc/guanghu-enterprise-lighthouse.env ExecStart=/usr/bin/python3 /opt/guanghu-enterprise-lighthouse/lighthouse.py Restart=on-failure RestartSec=3 NoNewPrivileges=yes PrivateTmp=yes ProtectSystem=strict ProtectHome=yes ReadWritePaths=/var/lib/guanghu-enterprise-lighthouse [Install] WantedBy=multi-user.target