Cmnd_Alias PHOTOBOOTH_SYSTEM_ACTIONS = /usr/sbin/shutdown -h now, /usr/sbin/shutdown -r now, /usr/bin/systemctl --no-block restart photobooth.service, /usr/bin/photobooth kiosk leave
Cmnd_Alias PHOTOBOOTH_GPHOTO2_SHELL = /usr/bin/gphoto2 --set-config /main/settings/datetime=* --filename * --force-overwrite --shell, /usr/bin/gphoto2 --port * --set-config /main/settings/datetime=* --filename * --force-overwrite --shell

photobooth-service ALL=(root) NOPASSWD: PHOTOBOOTH_SYSTEM_ACTIONS, PHOTOBOOTH_GPHOTO2_SHELL
