Maat/maat.service

13 lines
282 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
ExecStopPost=/usr/sbin/rmdir /srv/maat/pkg/.lock
Type=simple
RemainAfterExit=no
User=root
Group=root