[Unit] Description=myAnsuran git deploy webhook listener After=network.target docker.service Requires=docker.service [Service] # User mesti ahli group 'docker' supaya boleh jalankan docker compose tanpa sudo. User=deploy WorkingDirectory=/opt/myansuran ExecStart=/usr/bin/webhook -hooks /opt/myansuran/deploy/hooks.json -port 9001 -verbose -hotreload Restart=always RestartSec=5 [Install] WantedBy=multi-user.target