Created
March 26, 2019 09:07
-
-
Save gytisrepecka/557660aed94afebec68c0a2432ae348e to your computer and use it in GitHub Desktop.
WriteFreely Systemd service configuration.
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=Write Freely Instance | |
After=syslog.target network.target | |
[Service] | |
Type=simple | |
StandardOutput=syslog | |
StandardError=syslog | |
WorkingDirectory=/var/www/example.com | |
ExecStart=/var/www/example.com/writefreely | |
Restart=always | |
User=writefreely | |
Group=writefreely | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment