|
Lines 5-11
After=network.target
Link Here
|
| 5 |
[Service] |
5 |
[Service] |
| 6 |
Type=simple |
6 |
Type=simple |
| 7 |
# ugly hack until StandardOutput or StandardError to |
7 |
# ugly hack until StandardOutput or StandardError to |
| 8 |
ExecStart=/bin/bash -ce "exec /usr/bin/python2.7 -m univention.admin.rest.server >> /var/log/univention/directory-manager-rest.log 2>&1" |
8 |
ExecStart=/bin/bash -ce "exec /usr/bin/python2.7 -m univention.admin.rest -p 9979 -c 4 run >> /var/log/univention/directory-manager-rest.log 2>&1" |
| 9 |
#ExecStart=/usr/bin/python2.7 -m univention.admin.rest.server |
9 |
#ExecStart=/usr/bin/python2.7 -m univention.admin.rest.server |
| 10 |
ExecReload=/bin/kill -HUP $MAINPID |
10 |
ExecReload=/bin/kill -HUP $MAINPID |
| 11 |
Restart=on-failure |
11 |
Restart=on-failure |