Don't use setuid, it doesn't work
This commit is contained in:
parent
8246ab32d0
commit
f15cd4f3cf
|
@ -20,4 +20,4 @@ ssh -o IdentitiesOnly=yes \
|
|||
-o StrictHostKeyChecking=no \
|
||||
-o UserKnownHostsFile=/dev/null \
|
||||
-o LogLevel=QUIET \
|
||||
-i "${keyfile}" deploy@209.141.40.107 /usr/bin/riju-install
|
||||
-i "${keyfile}" deploy@209.141.40.107
|
||||
|
|
|
@ -7,7 +7,5 @@ cp scripts/riju.service /etc/systemd/system/riju.service
|
|||
cp scripts/certbot-pre.bash /etc/letsencrypt/renewal-hooks/pre/riju
|
||||
cp scripts/certbot-post.bash /etc/letsencrypt/renewal-hooks/post/riju
|
||||
cp scripts/install.py /usr/bin/riju-install
|
||||
chgrp deploy /usr/bin/riju-install
|
||||
chmod u=rwxs,g=rxs,o= /usr/bin/riju-install
|
||||
|
||||
systemctl daemon-reload
|
||||
|
|
Loading…
Reference in New Issue