Skip to content

Instantly share code, notes, and snippets.

@zvg
Last active July 24, 2020 17:22
Show Gist options
  • Save zvg/bd90fd111448b5787c298398f2f3bcc9 to your computer and use it in GitHub Desktop.
Save zvg/bd90fd111448b5787c298398f2f3bcc9 to your computer and use it in GitHub Desktop.
[Unit]
Description=bark note for ip
Documentation=bark-server
After=network.target
[Service]
Type=simple
PIDFile=/run/bark.pid
ExecStart=/usr/local/bin/bark-server -l 0.0.0.0 -p 8080 -d /etc/bark/bark-data
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment