[Unit] Description=Huohua shared public service After=network-online.target Wants=network-online.target [Service] User=huohua Group=huohua EnvironmentFile=/etc/huohua/public.env ExecStart=/opt/huohua/current/huohua-public-service -config /etc/huohua/config.central.json Restart=on-failure RestartSec=3 TimeoutStopSec=45 NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true UMask=0077 [Install] WantedBy=multi-user.target