JetBrains Upsource using systemd as a 'run' script
When Upsource was first installed a forking style systemd.service file was used. This has a few issues with getting logging/error information and setting up pid files correctly. This updated configuration file uses a simple systemd.service configuration file (and no pid file).
The key change is to use the 'run' option from the JetBrains supplied upsource script.
[Unit] Description=JetBrains Upsource Requires=network.target After=syslog.target network.target [Service] Type=simple EnvironmentFile=/etc/sysconfig/upsource ExecStart=/srv/upsource/upsource/bin/upsource.sh run ExecStop=/srv/upsource/upsource/bin/upsource.sh stop ExecReload=/srv/upsource/upsource/bin/upsource.sh rerun User=upsource [Install] WantedBy=multi-user.target