mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-09 14:44:11 +02:00
- support args to systemd service - ensure paths are correctly owned (/var/lib/sks/{PTree,KDB} must exist) - sks-recon must start after sks-db Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
14 lines
348 B
Desktop File
14 lines
348 B
Desktop File
[Unit]
|
|
Description=SKS key reconnaissance thread
|
|
After=network.target sks-db.service
|
|
|
|
[Service]
|
|
Environment=SKS_DIR=/var/lib/sks
|
|
EnvironmentFile=-/etc/sysconfig/sks
|
|
ExecStart=/usr/bin/sks recon ${SKS_OPTIONS} ${SKS_RECON_OPTIONS}
|
|
User=sks
|
|
# WorkingDirectory cannot use a variable
|
|
WorkingDirectory=/var/lib/sks
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|