Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Unit]
Description=CMS Log Service
[Service]
User=cmsuser
ExecStart=/usr/local/bin/cmsLogService
[Install]
WantedBy=multi-user.target
[Unit]
Description=Contest Management System
Requires=postgresql.service
Wants=cms-log.service
After=cms-log.service postgresql.service
[Service]
User=cmsuser
ExecStart=/usr/local/bin/cmsResourceService -a ALL
[Install]
WantedBy=multi-user.target
[Unit]
Description=Contest Management System
Wants=network-online.target
After=network-online.target
[Service]
User=cmsuser
ExecStart=/usr/local/bin/cmsResourceService -a ALL
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment