Showing 3 changed files with 3 additions and 11 deletions
+1 -1
etc/group
... ...
@@ -55,7 +55,7 @@ systemd-network:x:115:
55 55
 systemd-resolve:x:116:
56 56
 systemd-bus-proxy:x:117:
57 57
 prosody:x:118:
58
-sms:x:1000:action
58
+sms:x:1000:
59 59
 epmd:x:119:
60 60
 elections:x:1001:
61 61
 maps:x:1002:
+2 -2
etc/systemd/system/action.service
... ...
@@ -1,9 +1,9 @@
1 1
 [Unit]
2 2
 Description=Mets à jour les actions de la section
3
-ConditionPathExists=/tmp/sms-action/envoi
3
+ConditionPathExists=/dev/shm/sms-action/envoi
4 4
 
5 5
 [Service]
6 6
 Type=simple
7 7
 User=action
8 8
 Environment=PERL5LIB=/home/action/perl5/lib/perl5
9
-ExecStart=/home/action/action; /bin/rm -f /tmp/sms-action/envoi
9
+ExecStart=/bin/sh -c "/home/action/action; /bin/rm -f /dev/shm/sms-action/envoi"
-8
etc/systemd/system/action.timer
... ...
@@ -1,8 +0,0 @@
1
-[Unit]
2
-Description=Mets à jour les actions de la section
3
-
4
-[Timer]
5
-OnCalendar=hourly
6
-
7
-[Install]
8
-WantedBy=timers.target