Maat/maat.service

13 lines
283 B
SYSTEMD
Raw Normal View History

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