diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /net-p2p/energi3/files/energi3.service | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'net-p2p/energi3/files/energi3.service')
-rw-r--r-- | net-p2p/energi3/files/energi3.service | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/net-p2p/energi3/files/energi3.service b/net-p2p/energi3/files/energi3.service new file mode 100644 index 000000000000..c1aca146c838 --- /dev/null +++ b/net-p2p/energi3/files/energi3.service @@ -0,0 +1,42 @@ +[Unit] +Description=Energi Core Node Service +After=syslog.target network.target + +[Service] +SyslogIdentifier=energi3 +Type=simple +User=energi3 +Group=energi3 +ExecStart=/usr/bin/energi3 \ +--datadir ${STATE_DIRECTORY} \ +--masternode \ +--mine=1 \ +--rpc \ +--rpcport 39796 \ +--rpcaddr "127.0.0.1" \ +--rpcapi admin,eth,web3,rpc,personal,energi \ +--ws \ +--wsaddr "127.0.0.1" \ +--wsport 39795 \ +--wsapi admin,eth,net,web3,personal,energi \ +--verbosity 0 +PrivateTmp=true +ProtectHome=true +ProtectSystem=strict +NoNewPrivileges=true +PrivateDevices=true +CapabilityBoundingSet= +ProtectClock=true +ProtectKernelModules=true +ProtectKernelTunables=true +ProtectKernelLogs=true +ProtectControlGroups=true +RestrictRealtime=true +RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX +RestrictNamespaces=true +PrivateUsers=true +StateDirectory=energi3 + +[Install] +WantedBy=multi-user.target + |