Всем привет! Мне тут дали код юнита для автозагрузки страницы
[Unit]
Description=Ping service
[Service]
WorkingDirectory=/tmp
ExecStart=/usr/bin/wget http://127.0.0.1/task_manager/index.php
Restart=always
# Restart service after 60 seconds
RestartSec=60
KillSignal=SIGINT
SyslogIdentifier=pingsvc
User=www-root
#Environment=ASPNETCORE_ENVIRONMENT=Production
#Environment=DOTNET_PRINT_TELEMETRY_MESSAGE=false
[Install]
WantedBy=multi-user.target
Но он выдает ошибку. 217.
myunit.service - Ping service
Loaded: loaded (/etc/systemd/system/myunit.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2021-11-28 18:41:47 CET; 52s ago
Process: 2616 ExecStart=/usr/bin/wget http://127.0.0.1:80/task_manager/index.php (code=exited, status=217/USER)
Main PID: 2616 (code=exited, status=217/USER)
Nov 28 18:41:47 openhabian systemd[1]: myunit.service: Service RestartSec=1s expired, scheduling restart.
Nov 28 18:41:47 openhabian systemd[1]: myunit.service: Scheduled restart job, restart counter is at 5.
Nov 28 18:41:47 openhabian systemd[1]: Stopped Ping service.
Nov 28 18:41:47 openhabian systemd[1]: myunit.service: Start request repeated too quickly.
Nov 28 18:41:47 openhabian systemd[1]: myunit.service: Failed with result 'exit-code'.
Nov 28 18:41:47 openhabian systemd[1]: Failed to start Ping service.
Как понял нужно прописать пользователя и группу. Подскажите пожалуйста, какого пользователя прописать или создать его? Ничего не пойму.