Fixed directives in *.service files
Francesco Paolo Lovergine
3 years ago
3 | 3 |
After=autodir.service
|
4 | 4 |
|
5 | 5 |
[Service]
|
6 | |
Environment=AUTOGROUP_HOME=/home AUTOGROUP_TIMEOUT=600
|
|
6 |
Environment=AUTOGROUP_HOME=/group AUTOGROUP_TIMEOUT=300
|
7 | 7 |
Environment=AUTOGROUP_MODULE=/usr/lib/autodir/autogroup.so
|
8 | 8 |
Environment="AUTOGROUP_OPTIONS=realpath=/autogroup,level=2"
|
9 | 9 |
Environment="AUTOGROUP_BACKUP='/bin/tar cf /tmp/%N.tar.gz %L'"
|
|
11 | 11 |
Environment=AUTOGROUP_BACKPRI=30
|
12 | 12 |
Environment=AUTOGROUP_MAXBACK=150
|
13 | 13 |
EnvironmentFile=-/etc/default/autodir
|
14 | |
ConditionEnvironment=RUN_AUTOGROUP=yes
|
|
14 |
PIDFile=/run/autogroup.pid
|
|
15 |
ExecCondition=/usr/bin/egrep -qe '^RUN_AUTOGROUP="yes"' /etc/default/autodir
|
15 | 16 |
ExecStart=/usr/sbin/autodir \
|
16 | 17 |
-d $AUTOGROUP_HOME -m $AUTOGROUP_MODULE \
|
17 | 18 |
-o $AUTOGROUP_OPTIONS \
|
|
20 | 21 |
-w $AUTOGROUP_BACKWAIT \
|
21 | 22 |
-p $AUTOGROUP_BACKPRI \
|
22 | 23 |
-c $AUTOGROUP_MAXBACK \
|
23 | |
-l $AUTOGROUP_PID
|
|
24 |
-l /run/autogroup.pid
|
24 | 25 |
|
25 | 26 |
[Install]
|
26 | 27 |
WantedBy=autodir.service
|
11 | 11 |
Environment=AUTOHOME_BACKPRI=30
|
12 | 12 |
Environment=AUTOHOME_MAXBACK=150
|
13 | 13 |
EnvironmentFile=-/etc/default/autodir
|
14 | |
ConditionEnvironment=RUN_AUTOHOME=yes
|
|
14 |
PIDFile=/run/autohome.pid
|
|
15 |
ExecCondition=/usr/bin/egrep -qe '^RUN_AUTOHOME="yes"' /etc/default/autodir
|
15 | 16 |
ExecStart=/usr/sbin/autodir \
|
16 | 17 |
-d $AUTOHOME_HOME -m $AUTOHOME_MODULE \
|
17 | 18 |
-o $AUTOHOME_OPTIONS \
|