[Unit] Description=IP Lookup Hub maintenance and exit verification After=network-online.target Wants=network-online.target [Service] Type=simple User=iphub Group=iphub WorkingDirectory=/opt/iphub/apps/hub ExecStart=/usr/bin/php /opt/iphub/apps/hub/artisan hub:maintain --loop --no-health Restart=on-failure RestartSec=5 NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true ReadWritePaths=/opt/iphub/apps/hub/storage /opt/iphub/apps/hub/bootstrap/cache UMask=0077 [Install] WantedBy=multi-user.target