extras/systemd/crashtest_minion.service
author Vincent Tondellier <tonton+hg@team1664.org>
Mon, 17 Jul 2023 22:51:43 +0200
changeset 133 42a4a2f8c790
parent 111 f827f3c50dcf
permissions -rw-r--r--
Cleanup Fix confusion between defined and exists

[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