Skip to content

Instantly share code, notes, and snippets.

@lvnilesh
Forked from mariodian/nbxplorer.service
Last active April 3, 2021 02:39
Show Gist options
  • Save lvnilesh/9df0d3024373a13eef879c0fad0e778a to your computer and use it in GitHub Desktop.
Save lvnilesh/9df0d3024373a13eef879c0fad0e778a to your computer and use it in GitHub Desktop.
NBXplorer Systemd Service
[Unit]
Description=NBXplorer daemon
Requires=bitcoind.service
After=bitcoind.service
[Service]
ExecStart=/usr/bin/dotnet "/home/cloudgenius/NBXplorer/NBXplorer/bin/Release/netcoreapp3.1/NBXplorer.dll" -c /home/cloudgenius/.nbxplorer/Main/settings.config
User=cloudgenius
Group=dialout
Type=simple
PIDFile=/run/nbxplorer/nbxplorer.pid
Restart=on-failure
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment