[Unit]
Description=OBS scheduler service for %I
After=network.target

[Service]
EnvironmentFile=/etc/sysconfig/obs-server
ExecStart=/usr/lib/obs/server/bs_sched %i
ExecStop=/usr/lib/obs/server/bs_admin --shutdown-scheduler %i

[Install]
WantedBy=multi-user.target
