summaryrefslogtreecommitdiffstats
path: root/roleproxy.service
blob: 2c256d9d1c421822f45c4ce7894a79b74bd866a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# This file is shipped as part of the salt-netbox-roleproxy package.
# Author: Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>

[Unit]
Description=Salt NetBox Role Proxy

[Service]
User=_roleproxy
Group=_roleproxy
EnvironmentFile=/etc/sysconfig/roleproxy
ExecStart=/usr/bin/roleproxy.py
ProtectSystem=strict
ProtectHome=yes
PrivateDevices=yes
PrivateTmp=yes
PrivateUsers=yes
ProtectKernelTunables=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_INET6 AF_INET
SystemCallArchitectures=native
SystemCallFilter=@system-service

[Install]
WantedBy=multi-user.target