Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@radjah
Created March 29, 2016 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radjah/390e4f7718eacdde60ad to your computer and use it in GitHub Desktop.
Save radjah/390e4f7718eacdde60ad to your computer and use it in GitHub Desktop.
Юнит eggdrop для systemd. Не получается отработать остановку без FAIL.
[Unit]
Description=eggdrop IRC bot
After=local-fs.target remote-fs.target network.target
[Service]
Type=forking
User=share
PIDFile=/opt/eggdrop/eggdrop.pid
WorkingDirectory=/opt/eggdrop
ExecStart=/opt/eggdrop/eggdrop /opt/eggdrop/eggdrop.conf
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment