Created
November 25, 2018 19:06
-
-
Save carlosm3011/e3ec39575dfbe005fe9814090c4d3ce7 to your computer and use it in GitHub Desktop.
Using systemd to start the tracd standalone 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=Tracd Standalone Server | |
After=network.target | |
[Service] | |
Type=simple | |
User=root | |
WorkingDirectory=/opt/trac | |
# ExecStart=/usr/local/bin/tracd -d --pidfile /tmp/tracd.pid -p 80 -s /opt/trac/xt6 | |
ExecStart=/usr/local/bin/tracd --pidfile /tmp/tracd.pid -p 80 -s /opt/trac/xt6 | |
PIDFile=/tmp/tracd.pid | |
ExecStop=/bin/kill $MAINPID | |
KillMode=process | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using systemd to start the tracd standalone server
Install file on /etc/systemd/system/tracd.service
Then run: