11 lines
208 B
SYSTEMD
11 lines
208 B
SYSTEMD
|
[Unit]
|
||
|
Description=nginx logging collector
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=nonroot
|
||
|
WorkingDirectory=/home/nonroot/nginx_reader
|
||
|
Restart=always
|
||
|
RestartSec=5
|
||
|
ExecStart=/home/nonroot/nginx_reader/read_access_logs.py
|