Verified Commit bb2731ec authored by CompileNix's avatar CompileNix

add systemd unit

parent 99660c55
[Unit]
Description=Webserver access log to E-Mail, Slack, Mattermost or MS Teams Service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/opt/web-access_log2email
ExecStart=/opt/web-access_log2email/node/bin/node index.js
StandardOutput=journal
[Install]
WantedBy=multi-user.target
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment