add systemd file
This commit is contained in:
parent
1812ba449b
commit
4f53308b8a
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue