21 lines
599 B
Desktop File
21 lines
599 B
Desktop File
[Unit]
|
|
Description=Guanghu Enterprise Identity and Responsibility Receipts
|
|
After=network-online.target guanghu-enterprise-lighthouse.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=lighthouse
|
|
Group=lighthouse
|
|
EnvironmentFile=/etc/guanghu/enterprise-identity.env
|
|
ExecStart=/usr/bin/python3 /opt/guanghu-enterprise-identity/enterprise_identity_service.py
|
|
Restart=on-failure
|
|
RestartSec=2
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadOnlyPaths=/etc/guanghu/enterprise-identity-registry.json
|
|
ReadWritePaths=/var/lib/guanghu-enterprise-identity
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|