From 4f53308b8a83e476407bafdccb3660782fd0c21e Mon Sep 17 00:00:00 2001 From: wowario Date: Wed, 1 Feb 2023 21:19:12 +0300 Subject: [PATCH] add systemd file --- utils/systemd/monerod.service | 20 -------------------- utils/systemd/wownerod.service | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 utils/systemd/monerod.service create mode 100644 utils/systemd/wownerod.service diff --git a/utils/systemd/monerod.service b/utils/systemd/monerod.service deleted file mode 100644 index 63daefa82..000000000 --- a/utils/systemd/monerod.service +++ /dev/null @@ -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 diff --git a/utils/systemd/wownerod.service b/utils/systemd/wownerod.service new file mode 100644 index 000000000..acdda18d7 --- /dev/null +++ b/utils/systemd/wownerod.service @@ -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