add systemd file

This commit is contained in:
wowario 2023-02-01 21:19:12 +03:00
parent 7f01ebbf29
commit 6afdd7894a
No known key found for this signature in database
GPG Key ID: 793504B449C69220
2 changed files with 20 additions and 20 deletions

View File

@ -1,20 +0,0 @@
[Unit]
Description=Monero Full Node
After=network.target
[Service]
User=monero
Group=monero
WorkingDirectory=~
StateDirectory=monero
LogsDirectory=monero
Type=simple
ExecStart=/usr/bin/monerod --config-file /etc/monerod.conf --non-interactive
StandardOutput=null
StandardError=null
Restart=always
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,20 @@
[Unit]
Description=Wownero Full Node
After=network.target
[Service]
User=wownero
Group=wownero
Environment="MONERO_RANDOMX_UMASK=1"
StateDirectory=wownero
LogsDirectory=wownero
Type=simple
ExecStart=/usr/local/bin/wownerod --config-file /etc/wow.conf --non-interactive
WorkingDirectory=~
Restart=always
StandardOutput=null
StandardError=null
Restart=always
[Install]
WantedBy=multi-user.target