add doas.conf, entry for app and update crontab to use it
This commit is contained in:
parent
1d725c62d2
commit
d4d7ec9d55
@ -1,4 +1,4 @@
|
||||
SHELL=/bin/sh
|
||||
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
|
||||
|
||||
0 0 * * * app -n /home/app/openbsd.app/upgrade.sh && /etc/rc.d/openbsd_app restart
|
||||
0 0 * * * app -n /home/app/openbsd.app/upgrade.sh && doas /etc/rc.d/openbsd_app restart
|
2
support/doas.conf
Normal file
2
support/doas.conf
Normal file
@ -0,0 +1,2 @@
|
||||
permit persist :wheel
|
||||
permit nopass app as root cmd /etc/rc.d/openbsd_app args restart
|
Loading…
Reference in New Issue
Block a user