[Unit] Description=Telemt service Documentation=https://github.com/telemt/telemt After=network-online.target Wants=network-online.target [Service] Type=simple User=telemt Group=telemt ExecStart=/opt/telemt/telemt /etc/telemt/config.toml ExecReload=/bin/kill -HUP $MAINPID PIDFile=/var/run/telemt.pid Restart=always RestartSec=5 WorkingDirectory=/opt/telemt LimitNOFILE=65535 LimitNPROC=4096 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true PrivateDevices=true ProtectKernelTunables=true ProtectKernelModules=true ProtectControlGroups=true RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK RestrictNamespaces=true RestrictRealtime=true RestrictSUIDSGID=true MemoryDenyWriteExecute=true LockPersonality=true AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_ADMIN ReadWritePaths=/var/lib/telemt /var/run [Install] WantedBy=multi-user.target