makefile fail and continue
This commit is contained in:
parent
b742b7dfe6
commit
4cb4c12a35
1 changed files with 23 additions and 18 deletions
41
Makefile
41
Makefile
|
@ -35,29 +35,34 @@ $(BINDIR):
|
||||||
mkdir -p $(BINDIR)
|
mkdir -p $(BINDIR)
|
||||||
|
|
||||||
users:
|
users:
|
||||||
sudo useradd -M djumbaiq
|
-sudo useradd -M djumbaiq
|
||||||
sudo useradd -M djumbaid
|
-sudo useradd -M djumbaid
|
||||||
sudo groupadd djumbai_queue
|
-sudo groupadd djumbai_queue
|
||||||
sudo groupadd djumbai_send
|
-sudo groupadd djumbai_send
|
||||||
sudo usermod -aG djumbai_queue djumbaiq
|
-sudo usermod -aG djumbai_queue djumbaiq
|
||||||
sudo usermod -aG djumbai_queue djumbaid
|
-sudo usermod -aG djumbai_queue djumbaid
|
||||||
sudo usermod -aG djumbai_send djumbaid
|
-sudo usermod -aG djumbai_send djumbaid
|
||||||
sudo usermod -aG djumbai_send root
|
-sudo usermod -aG djumbai_send root
|
||||||
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
sudo chown djumbaiq $(BINDIR)/djumbai_enqueue/djumbai_enqueue
|
-sudo chown djumbaiq $(BINDIR)/djumbai_enqueue/djumbai_enqueue
|
||||||
sudo chmod u+s $(BINDIR)/djumbai_enqueue/djumbai_enqueue
|
-sudo chmod u+s $(BINDIR)/djumbai_enqueue/djumbai_enqueue
|
||||||
sudo chown djumbaid $(BINDIR)/djumbai_dequeue/djumbai_dequeue
|
-sudo chown djumbaid $(BINDIR)/djumbai_dequeue/djumbai_dequeue
|
||||||
sudo chmod u+s $(BINDIR)/djumbai_dequeue/djumbai_dequeue
|
-sudo chmod u+s $(BINDIR)/djumbai_dequeue/djumbai_dequeue
|
||||||
sudo chown root $(BINDIR)/djumbai_send/djumbai_send
|
-sudo chown root $(BINDIR)/djumbai_send/djumbai_send
|
||||||
sudo chmod u+s $(BINDIR)/djumbai_send/djumbai_send
|
-sudo chmod u+s $(BINDIR)/djumbai_send/djumbai_send
|
||||||
|
|
||||||
directories:
|
directories:
|
||||||
sudo -u root -g djumbai mkdir /opt/djumbai
|
-sudo -u root -g djumbai mkdir /opt/djumbai
|
||||||
sudo -u root -g djumbai mkdir /opt/djumbai/fifos
|
-sudo -u root -g djumbai mkdir /opt/djumbai/fifos
|
||||||
sudo -u root -g djumbai mkdir /opt/djumbai/user
|
-sudo -u root -g djumbai mkdir /opt/djumbai/user
|
||||||
sudo -u root -g djumbai mkdir /opt/djumbai/group
|
-sudo -u root -g djumbai mkdir /opt/djumbai/group
|
||||||
|
|
||||||
|
setup:
|
||||||
|
-users
|
||||||
|
-permissions
|
||||||
|
-directories
|
||||||
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|
Loading…
Reference in a new issue