Created
September 8, 2016 19:19
-
-
Save paurkedal/b7d0032ac0901c4df1ca45db597ad3ed to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=OCSIGEN Server Instance | |
| After=network.target | |
| [Service] | |
| EnvironmentFile=/etc/sysconfig/ocsigen-%i | |
| User=ocsigen | |
| ExecStart=/usr/local/bin/opam-env ${OPAMSWITCH} ocsigenserver -c /etc/ocsigen/%i-${OPAMSWITCH}.conf | |
| ExecStop=/usr/bin/echo shutdown >/var/run/ocsigen/%i-command.pipe | |
| ExecReload=/usr/bin/echo reload >/var/run/ocsigen/%i-command.pipe | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment