__UNITS_POST__ service_path=/etc/systemd/system/wgpaid-activity-sampler.service service_exists_rc=0 timer_path=/etc/systemd/system/wgpaid-activity-sampler.timer timer_exists_rc=0 __UNIT_SHA256__ 9afa5cf25e6953ad4048effa62c12a79adbb50f2e1dd0eb908337154ffe13c86 /etc/systemd/system/wgpaid-activity-sampler.service 944e1d7377579d9b556462442b8c717af001cbc1d1db6570f0998e5aded0f73d /etc/systemd/system/wgpaid-activity-sampler.timer __STATUS_POST__ static service_is_enabled_rc=0 inactive service_is_active_rc=3 disabled timer_is_enabled_rc=1 inactive timer_is_active_rc=3 __LIST_TIMERS__ __UNIT_CAT_SERVICE__ # /etc/systemd/system/wgpaid-activity-sampler.service [Unit] Description=WG Paid activity sampler one-shot Documentation=file:/opt/router-ops/bin/wgpaid-activity-sampler-once Wants=network-online.target After=network-online.target [Service] Type=oneshot User=ops Group=ops WorkingDirectory=/opt/router-ops ExecStart=/bin/sh -lc 'mkdir -p "/opt/router-ops/runtime/wgpaid-activity-sampler" "/opt/router-ops/state"; "/opt/router-ops/bin/wgpaid-activity-sampler-once" --apply --json-out "/opt/router-ops/runtime/wgpaid-activity-sampler/last-run.json"; cp "/opt/router-ops/runtime/wgpaid-activity-sampler/last-run.json" "/opt/router-ops/state/current-wgpaid-activity-sampler-last-run.json"' Nice=5 IOSchedulingClass=best-effort IOSchedulingPriority=7 TimeoutStartSec=180 NoNewPrivileges=true PrivateTmp=true ProtectHome=false ProtectSystem=full ReadWritePaths=/opt/router-ops __UNIT_CAT_TIMER__ # /etc/systemd/system/wgpaid-activity-sampler.timer [Unit] Description=Run WG Paid activity sampler every 2 minutes [Timer] OnBootSec=2min OnUnitActiveSec=2min AccuracySec=15s RandomizedDelaySec=15s Persistent=true Unit=wgpaid-activity-sampler.service [Install] WantedBy=timers.target