Maat/maat-builder.service
2019-04-08 05:05:08 -05:00

13 lines
293 B
Desktop File

[Unit]
Description=AniNIX::Maat \\ Builder Service
ConditionPathExists=|!/srv/maat/pkg/.lock
[Service]
ExecStartPre=/usr/sbin/mkdir /srv/maat/pkg/.lock
ExecStart=/usr/local/bin/maat-builder
ExecStopPost=/usr/sbin/rmdir /srv/maat/pkg/.lock
Type=oneshot
RemainAfterExit=no
User=root
Group=root