Last active
December 31, 2016 08:08
-
-
Save horodchukanton/162c8c32be33b34a2c714f56f52b9dd1 to your computer and use it in GitHub Desktop.
SystemD Unit for ABillS websocket backend server
This file contains 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=ABillS Websocket Server | |
After=network.target | |
After=mysql.service | |
Requires=mysql.service | |
[Service] | |
Type=forking | |
PIDFile=/usr/abills/var/log/websocket_backend.pid | |
ExecStartPre=/bin/chown -R nobody /usr/abills/var/ | |
ExecStart=/usr/abills/libexec/websocket_backend.pl -d | |
ExecReload=/usr/abills/libexec/websocket_backend.pl stop | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment