psssix
10/11/2016 - 10:05 PM

systemd service files for running Upsource (create in /usr/lib/systemd/system)

systemd service files for running Upsource (create in /usr/lib/systemd/system)

[Unit]
Description=JetBrains Upsource
Requires=network.target
After=syslog.target network.target

[Service]
Type=forking
User=upsource
Group=upsource
TimeoutStartSec=10min
EnvironmentFile=/etc/sysconfig/upsource
PIDFile=/var/jetbrains/Upsource/logs/upsource.pid
ExecStart=/var/jetbrains/Upsource/bin/upsource.sh start
ExecStop=/var/jetbrains/Upsource/bin/upsource.sh stop
ExecReload=/var/jetbrains/Upsource/bin/upsource.sh restart

[Install]
WantedBy=multi-user.target