ForwardXMPP/systemd/forwardxmpp.service

33 lines
717 B
SYSTEMD
Raw Normal View History

2020-01-27 14:00:03 +00:00
[Unit]
Description=XMPP Messsage Forwarding Bot
Wants=network-online.target
After=network-online.target
[Install]
WantedBy=default.target
[Service]
ExecStart=/usr/bin/python3 -m forwardxmpp --config-file /etc/forwardxmpp/config.ini
DynamicUser=true
2020-01-27 15:05:03 +00:00
DevicePolicy=closed
MemoryDenyWriteExecute=true
2020-01-27 14:00:03 +00:00
PrivateDevices=true
PrivateNetwork=false
PrivateTmp=true
PrivateUsers=true
ProtectControlGroups=true
ProtectHome=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=strict
2020-01-27 15:05:03 +00:00
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
RestrictNamespaces=true
RestrictRealtime=true
2020-01-27 14:00:03 +00:00
CapabilityBoundingSet=
NoNewPrivileges=true
SystemCallFilter=~@clock @cpu-emulation @debug @module @mount @obsolete