Browse Source

wanchecker service: add User entry

master
Pekka Helenius 5 years ago
parent
commit
63eda59005
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      wanchecker@.service

+ 2
- 4
wanchecker@.service View File

@ -5,7 +5,5 @@ Description=WAN IPv4 checker & email sender for dynamic IPv4 server environments
After=network-online.target
[Service]
ExecStart=/usr/bin/bash /home/%i/wanchecker.sh
# Emailing fails if this is enabled
#NoNewPrivileges=true
User=%i
ExecStart=/usr/bin/bash /home/%i/wanchecker.sh

Loading…
Cancel
Save