Skip to content

Instantly share code, notes, and snippets.

@rehrumesh
Created June 26, 2017 10:56
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 rehrumesh/b72f9a9b99ec89cf8be23904805c8a7f to your computer and use it in GitHub Desktop.
Save rehrumesh/b72f9a9b99ec89cf8be23904805c8a7f to your computer and use it in GitHub Desktop.
[Unit]
Description=Keybox
After=network.target
[Service]
Type=simple
WorkingDirectory=/srv/keybox/KeyBox-jetty
ExecStart=/srv/keybox/KeyBox-jetty/startKeyBox.sh </dev/null &>/dev/null &
Restart=always
User=root
Group=root
LimitNOFILE=10240
LimitFSIZE=infinity
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment