Created
July 7, 2015 06:45
-
-
Save pgaubatz/0c7fa760a320a16a716e to your computer and use it in GitHub Desktop.
A systemd service definition file for CommaFeed
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=A bloat-free feed reader | |
| After=local-fs.target network.target | |
| [Service] | |
| User=www-data | |
| Group=www-data | |
| WorkingDirectory=/opt/commafeed | |
| ExecStart=/usr/bin/java -Djava.net.preferIPv4Stack=true -server -jar commafeed.jar server config.yml | |
| SyslogIdentifier=commafeed | |
| Restart=always | |
| [Install] | |
| WantedBy=multi-user.target |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mkdir /opt/commafeed cd /opt/commafeed wget https://github.com/Athou/commafeed/releases/download/2.2.0/commafeed.jar wget https://raw.githubusercontent.com/Athou/commafeed/2.2.0/config.yml.example -O config.yml wget https://gist.githubusercontent.com/pgaubatz/0c7fa760a320a16a716e/raw/3d75acde31c8e973e3ff6c78b8187385a1a24df6/commafeed.service ln -s /opt/commafeed/commafeed.service /etc/systemd/system/ systemctl daemon-reloadconfig.ymlandcommafeed.service.systemctl start commafeed.service.