extras/systemd/crashtest_minion.service
author Vincent Tondellier <tonton+hg@team1664.org>
Sat, 26 Nov 2016 18:33:57 +0100
changeset 118 a8ff5a8a4fe8
parent 111 f827f3c50dcf
permissions -rw-r--r--
Let PostgreSQL remove unneeded join on crash_group if possible, join bug_link on crash_report.crash_group_id

[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