Skip to content

Instantly share code, notes, and snippets.

@zorbash
Created January 29, 2017 20:25
Show Gist options
  • Save zorbash/522669c56bcae826d8ab142efe21a214 to your computer and use it in GitHub Desktop.
Save zorbash/522669c56bcae826d8ab142efe21a214 to your computer and use it in GitHub Desktop.
Kitto systemd unit file
[Unit]
Description=Kitto Server
[Service]
Type=simple
User=deployer
User=deployer
EnvironmentFile=/etc/default/kitto
ExecStart=/usr/local/bin/elixir --no-halt --no-compile --no-deps-check --name kitto@127.0.0.1 -S mix kitto.server
WorkingDirectory=/var/www/apps/kitto
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