summaryrefslogtreecommitdiff
blob: a3171863e22aa6958fe909a66daad0f43254d28d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=SQLgrey Postfix Grey-listing Policy service
After=network.target

[Service]
User=sqlgrey
Group=sqlgrey
ExecStart=/usr/sbin/sqlgrey
CapabilityBoundingSet=
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes
NoNewPrivileges=yes
MemoryDenyWriteExecute=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectControlGroups=true
RestrictRealtime=true

[Install]
WantedBy=multi-user.target