Rev 33 | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line | 
|---|---|---|---|
| 33 | magnus | 1 | [Unit]  | 
        
| 2 | Description=RFC 1413 compliant ident daemon  | 
        ||
| 3 | After=network.target  | 
        ||
| 4 | |||
| 5 | [Service]  | 
        ||
| 6 | Environment=OIDENT_USER=nobody OIDENT_GROUP=nogroup  | 
        ||
| 7 | EnvironmentFile=-/etc/default/oidentd  | 
        ||
| 43 | magnus | 8 | ExecStart=/bin/sh -c "exec /usr/sbin/oidentd ${OIDENT_OPTIONS} -u \"${OIDENT_USER}\" -g \"${OIDENT_GROUP}\" \ | 
        
| 33 | magnus | 9 |  `[ \"${OIDENT_BEHIND_PROXY}\" = \"yes\" ] && ip route show to exact 0/0 | awk '{print \"-P \" $3}'`" | 
        
| 10 | ExecReload=/bin/kill -HUP $MAINPID  | 
        ||
| 11 | Restart=on-failure  | 
        ||
| 12 | Type=forking  | 
        ||
| 13 | |||
| 14 | [Install]  | 
        ||
| 15 | WantedBy=multi-user.target  |