Created
July 27, 2016 20:10
-
-
Save azenla/b41a5f13b8193ef440899d02eae8093b to your computer and use it in GitHub Desktop.
Place at /etc/systemd/system/dsa.service
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
# systemd service for DSA | |
[Unit] | |
Description=DSA | |
After=network.target | |
[Service] | |
ExecStart=/bin/sh /opt/dsa/dglux-server/bin/daemon.sh start | |
ExecStop=/bin/sh /opt/dsa/dglux-server/bin/daemon.sh stop | |
WorkingDirectory=/opt/dsa/dglux-server | |
Type=forking | |
[Install] | |
WantedBy=network-online.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment