Created
June 13, 2020 12:13
-
-
Save KarimJedda/4e463bacec49932dce3c3e45aad030b3 to your computer and use it in GitHub Desktop.
Nginx to Sqlite Logger Service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Nginx Sqlite Logging service | |
After=network.target | |
StartLimitIntervalSec=0 | |
[Service] | |
Type=simple | |
Restart=always | |
RestartSec=1 | |
User=logger | |
ExecStart=/bin/bash /home/logger/logging.sh &> /var/log/sqliter/errors.log | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment