mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
21 lines
No EOL
636 B
Desktop File
21 lines
No EOL
636 B
Desktop File
[Unit]
|
|
Description=Argos agent
|
|
Documentation=https://framasoft.frama.io/framaspace/argos/
|
|
Requires=network.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=www-data
|
|
Environment="ARGOS_AGENT_TOKEN=Secret"
|
|
Environment="ARGOS_AGENT_SERVER_URL=http://127.0.0.1:8000"
|
|
WorkingDirectory=/var/www/argos/
|
|
ExecStart=/var/www/argos/venv/bin/argos agent --max-tasks 20 --wait-time 10 --log-level DEBUG
|
|
SyslogIdentifier=argos-agent
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
# NB: it may be better to
|
|
# - use a dedicated user
|
|
# - use a EnvironmentFile=/etc/default/argos-agent in order enable configuration
|
|
# changes without doing a systemctl daemon-reload |