Created
April 24, 2019 19:29
-
-
Save danpicton/bdc2c30c13dd6006f83677746ca151bc to your computer and use it in GitHub Desktop.
systemd service for Raspbian Stretch Lite
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
### BEGIN INIT INFO | |
# Provides: fluentd | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
### END INIT INFO | |
[Unit] | |
Description=fluentd logger | |
[Service] | |
Type=forking | |
User=dan | |
ExecStart=/usr/local/bin/fluentd --no-supervisor --config /path/to/fluent.conf --log /path/to/fluent.log -v | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment