You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alfis/contrib/systemd/alfis-default-config.service

13 lines
321 B
INI

[Unit]
Description=ALFIS default config generator
ConditionPathExists=|!/etc/alfis.conf
ConditionFileNotEmpty=|!/etc/alfis.conf
Wants=local-fs.target
After=local-fs.target
[Service]
Type=oneshot
Group=alfis
StandardOutput=file:/etc/alfis.conf
ExecStart=/usr/bin/alfis -g
ExecStartPost=/usr/bin/chmod 0640 /etc/alfis.conf