__PATHS__ sampler_path=/opt/router-ops/bin/wgpaid-activity-sampler-once sampler_executable_rc=0 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 __SHA256__ cb5ed8477164086b86a5821aebc27d23b9867dcb3e960b06006548312efee7ed /opt/router-ops/bin/wgpaid-activity-sampler-once 9afa5cf25e6953ad4048effa62c12a79adbb50f2e1dd0eb908337154ffe13c86 /etc/systemd/system/wgpaid-activity-sampler.service 944e1d7377579d9b556462442b8c717af001cbc1d1db6570f0998e5aded0f73d /etc/systemd/system/wgpaid-activity-sampler.timer __RAW_STATUS__ service_enabled_state=static service_enabled_rc=0 service_active_state=inactive service_active_rc=0 timer_enabled_state=disabled timer_enabled_rc=0 timer_active_state=inactive timer_active_rc=0 __SEMANTICS__ service_non_autostart_semantics=yes service_not_running=yes timer_disabled_semantics=yes timer_inactive_semantics=yes __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