From 859bc2a28c36d99665a1626b0a55c87e70047a53 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 14 Feb 2022 12:14:22 +0200 Subject: [PATCH] etc/sudoers.d: add restart-matterbridge Allows restarting matterbridge passwordlessly --- etc/sudoers.d/restart-matterbridge | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 etc/sudoers.d/restart-matterbridge diff --git a/etc/sudoers.d/restart-matterbridge b/etc/sudoers.d/restart-matterbridge new file mode 100644 index 00000000..63e7685a --- /dev/null +++ b/etc/sudoers.d/restart-matterbridge @@ -0,0 +1,3 @@ +# Via https://askubuntu.com/a/692712, I am tired of checking password just +# for this. Target system: Debian and Ubuntu +%sudo ALL=NOPASSWD: /bin/systemctl restart matterbridge.service