Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
id
keystore
Commits
ba8f75e8
Commit
ba8f75e8
authored
Jan 13, 2018
by
ale
Browse files
Set up dedicated users for each daemon
parent
50958198
Changes
4
Hide whitespace changes
Inline
Side-by-side
debian/dovecot-keylookupd.postinst
0 → 100755
View file @
ba8f75e8
#!/bin/sh
set
-e
case
"
$1
"
in
configure
)
addgroup
--system
--quiet
dovecot-keylookupd
adduser
--system
--no-create-home
--home
/run/dovecot-keylookupd
\
--disabled-password
--disabled-login
\
--quiet
--ingroup
dovecot-keylookupd dovecot-keylookupd
;;
esac
#DEBHELPER#
exit
0
debian/dovecot-keylookupd.service
View file @
ba8f75e8
...
...
@@ -6,7 +6,7 @@ Requires=dovecot-keylookupd.socket
Type
=
notify
ExecStart
=
/usr/bin/dovecot-keylookupd --systemd-socket
Restart
=
on-failure
User
=
dovecot
User
=
dovecot
-keylookupd
[Install]
WantedBy
=
multi-user.target
...
...
debian/dovecot-keylookupd.socket
View file @
ba8f75e8
...
...
@@ -5,7 +5,7 @@ Description=Dovecot keylookupd socket
ListenStream=/run/dovecot-keylookupd/socket
SocketMode=660
DirectoryMode=755
SocketUser=dovecot
SocketGroup=dovecot
SocketUser=dovecot
-keylookupd
SocketGroup=dovecot
-keylookupd
Accept=false
debian/postinst
→
debian/
keystored.
postinst
View file @
ba8f75e8
File moved
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