[Unit] Description=Monero daemon After=network-online.target Wants=network-online.target [Service] Type=simple User=monero Group=monero ExecStart=/usr/local/bin/monerod --config-file=/etc/monero/monerod.conf --non-interactive Restart=on-failure RestartSec=30 TimeoutStopSec=300 LimitNOFILE=65536 StandardOutput=null StandardError=null LogLevelMax=notice NoNewPrivileges=yes ProtectSystem=strict ReadWritePaths=/var/lib/monero RuntimeDirectory=monero RuntimeDirectoryMode=0700 RuntimeDirectoryPreserve=yes ProtectHome=yes PrivateTmp=yes PrivateDevices=yes PrivateUsers=yes PrivateMounts=yes ProtectKernelTunables=yes ProtectKernelModules=yes ProtectKernelLogs=yes ProtectControlGroups=yes ProtectClock=yes ProtectHostname=yes ProtectProc=invisible ProcSubset=pid RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK RestrictNamespaces=yes RestrictRealtime=yes RestrictSUIDSGID=yes LockPersonality=yes CapabilityBoundingSet= AmbientCapabilities= SystemCallArchitectures=native SystemCallFilter=@system-service SystemCallFilter=~@privileged UMask=0077 RemoveIPC=yes DevicePolicy=closed KeyringMode=private [Install] WantedBy=multi-user.target