Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
kohaprinter
Commits
bee6faf9
Commit
bee6faf9
authored
Jan 24, 2020
by
Benjamin Rokseth
Browse files
Restore cups config files permissions after kill
parent
96245291
Changes
1
Hide whitespace changes
Inline
Side-by-side
startCups.sh
View file @
bee6faf9
...
...
@@ -12,7 +12,13 @@ term_handler() {
kill
-SIGTERM
"
$pid
"
wait
"
$pid
"
fi
exit
143
;
# 128 + 15 -- SIGTERM
echo
"Restoring ownership of config files from cups..."
chown
-R
1000:1000 /etc/cups
chmod
775 /etc/cups
chmod
775 /etc/cups/ppd
chmod
664 /etc/cups/printers
*
chmod
664 /etc/cups/ppd/
*
exit
143
# 128 + 15 -- SIGTERM
}
# setup handlers
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment