diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-07-14 15:55:56 +0800 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-07-14 15:56:04 +0800 |
commit | 032bc7b3daf88836ecd903cb6c2550046c661015 (patch) | |
tree | 5cff8b9d709347317d80b300b8f11db272bea328 | |
parent | b9e28413fc7560b23878fb895394da16b55ee489 (diff) |
monerod@.service add more notes about using sys-subsystem-net-devices-wg_ba.device
-rw-r--r-- | etc/systemd/system/monerod@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/systemd/system/monerod@.service b/etc/systemd/system/monerod@.service index f1d91961..951bf1ec 100644 --- a/etc/systemd/system/monerod@.service +++ b/etc/systemd/system/monerod@.service @@ -2,8 +2,20 @@ Description=Monero Full Node for user %I After=network.target # `man systemd.unit` + # Notes about my tests with BindsTo= and other options see this url: # https://git.flylightning.xyz/public_archive_codes/tree/configs/configs_root_dir/etc/systemd/system/monerod_after_bindsto_mullvad.service + +# I learned about using sys-subsystem-net-devices-wg_ba.device from: +# https://unix.stackexchange.com/q/360214 +# https://unix.stackexchange.com/q/669660 I also have +# sys-subsystem-net-devices-wg_ba.device which is related to +# /sys/subsystem/net/devices/wg_ba, but my computer does not have +# /sys/subsystem dir, and systemctl status +# sys-subsystem-net-devices-wg_ba.device shows "Device:" is also +# /sys/devices/virtual/net/wg_ba, so I choose to use +# sys-subsystem-net-devices-wg_ba.device. + # I want monerod tunnel all traffic through wireguard, otherwise China ISP will # think I mine crypto and will be unhappy. This is one of the measures I take, # which is to only run monerod when wg_ba network interface is up. **Note it |