Set environment variable APP_RESTART_CMD=”/path/to/your_app_script.sh restart”

YES YES YES I tried it and it work

I added

export APP_RESTART_CMD=“systemctl restart zammad”

to the file /etc/default/zammad and I add an object, upond clicking the update database I see the message >

Zammad is restarting…

Some system settings have changed, Zammad is restarting. Please wait until Zammad is back again.

I will say it seems like my browser is stuck

sudo systemctl status zammad show

● zammad.service
Loaded: loaded (/etc/systemd/system/zammad.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-03-06 22:18:49 UTC; 9min ago
Main PID: 648 (sleep)
Tasks: 1 (limit: 28754)
Memory: 216.0K
CGroup: /system.slice/zammad.service
└─648 /bin/sleep infinity

Mar 06 22:18:49 gdctickets systemd[1]: Started zammad.service.

so I guess it worked but how do I unstick the browser - A refresh did it but it said Please wait until Zammad is back again so I assumes it would auto refesh, guess not.

Any how glad it worked