mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-22 06:58:53 +00:00
add systemd file
This commit is contained in:
parent
7f01ebbf29
commit
6afdd7894a
@ -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
|
|
20
utils/systemd/wownerod.service
Normal file
20
utils/systemd/wownerod.service
Normal 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
|
Loading…
Reference in New Issue
Block a user