diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-04-15 20:32:54 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-04-15 20:32:54 -0700 |
commit | 2cc0a3f7665fc2b7251a8ac468594d594cf29aff (patch) | |
tree | 28fe57c3bca68918cfe86e8f4649e0ec6f50f89c /etc | |
parent | 0df192a502bf156982d9348c2b64d6a107550f7d (diff) |
new systemd monerod@.service template unit, enabled monerod@xyz.service, remove `BindsTo=mullvad-daemon.service`
Diffstat (limited to 'etc')
-rw-r--r-- | etc/systemd/system/monerod@.service | 16 | ||||
l--------- | etc/systemd/system/multi-user.target.wants/monerod@xyz.service | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/etc/systemd/system/monerod@.service b/etc/systemd/system/monerod@.service new file mode 100644 index 00000000..0dfd9e70 --- /dev/null +++ b/etc/systemd/system/monerod@.service @@ -0,0 +1,16 @@ +[Unit] +Description=Monero Full Node for user %I +After=network.target + +[Service] +User=%i + +Type=simple +ExecStart=/usr/bin/monerod --non-interactive +StandardOutput=null +StandardError=null + +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/etc/systemd/system/multi-user.target.wants/monerod@xyz.service b/etc/systemd/system/multi-user.target.wants/monerod@xyz.service new file mode 120000 index 00000000..136953f4 --- /dev/null +++ b/etc/systemd/system/multi-user.target.wants/monerod@xyz.service @@ -0,0 +1 @@ +/etc/systemd/system/monerod@.service
\ No newline at end of file |