From fdc520dfeefadbc6f812a23f32924fd7fa0b7206 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/wownerod.service | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 utils/systemd/wownerod.service 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