[Unit] Description=Zammad scheduler After=syslog.target After=network.target After=zammad.service Requires=zammad.service [Service] Type=forking EnvironmentFile=/etc/zammad/zammad.env User=${ZAMMAD_USER:-zammad} Group=${ZAMMAD_GROUP:-zammad} Restart=always WorkingDirectory=${ZAMMAD_WORKING_DIRECTORY:-/opt/zammad} ExecStart=/bin/bash -l -c "${BUNDLE_BINARY:-bundle} exec script/scheduler.rb start" [Install] WantedBy=zammad.service