Skip to content

Instantly share code, notes, and snippets.

@coderhs
Last active September 6, 2017 14:07
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 coderhs/f1658017d51d6ea2db35409cf5b1915e to your computer and use it in GitHub Desktop.
Save coderhs/f1658017d51d6ea2db35409cf5b1915e to your computer and use it in GitHub Desktop.
system md file used to make sure kemal/crytal app is running
[Unit]
Description=Sale POS
After=network.target
[Service]
Type=simple
ExecStart=/opt/pos/app
Restart=always
RestartSec=3
User=deploy
WorkingDirectory=/opt/pos/
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment