diff -r d024bf1f4eab -r f827f3c50dcf extras/systemd/crashtest_minion.service --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/extras/systemd/crashtest_minion.service Sun Feb 21 22:32:27 2016 +0100 @@ -0,0 +1,24 @@ +[Unit] +Description=CrashTest Jobs Manager +Requires=network.target +After=network.target +ConditionPathExists=/etc/crashtest/crash_test.conf + +[Service] +Type=simple +User=crashtest +RemainAfterExit=yes +ProtectSystem=full + +Environment=MOJO_CONFIG=/etc/crashtest/crash_test.conf +Environment=JOBS=2 +EnvironmentFile=-/etc/default/crashtest + +;PrivateTmp=yes +;JoinsNamespaceOf= + +WorkingDirectory=/var/lib/crashtest +ExecStart=/usr/bin/CrashTest minion worker -m production -j $JOBS + +[Install] +WantedBy=multi-user.target