)]}'
{"functions":[{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"e7c49764060f0819aa72f8030e2cc1ccee5892a2","unresolved":false,"context_lines":[{"line_number":732,"context_line":"function set_systemd_override {"},{"line_number":733,"context_line":"    local key\u003d\"$1\""},{"line_number":734,"context_line":"    local value\u003d\"$2\""},{"line_number":735,"context_line":"    local service\u003d\"$3\""},{"line_number":736,"context_line":""},{"line_number":737,"context_line":"    if [ \"$service\" ]; then"},{"line_number":738,"context_line":"        local srvconf\u003d\"/etc/systemd/system/${service}.service/override.conf\""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_3cc1a881","line":735,"updated":"2017-05-16 16:05:17.000000000","message":"honestly, lets just set for whole system and not support specific service override.","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"3e22bf63e65abcd3048f1281a60ef0dad3840623","unresolved":false,"context_lines":[{"line_number":732,"context_line":"function set_systemd_override {"},{"line_number":733,"context_line":"    local key\u003d\"$1\""},{"line_number":734,"context_line":"    local value\u003d\"$2\""},{"line_number":735,"context_line":"    local service\u003d\"$3\""},{"line_number":736,"context_line":""},{"line_number":737,"context_line":"    if [ \"$service\" ]; then"},{"line_number":738,"context_line":"        local srvconf\u003d\"/etc/systemd/system/${service}.service/override.conf\""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_7cae1099","line":735,"in_reply_to":"1f013ff3_3cc1a881","updated":"2017-05-16 16:13:39.000000000","message":"GDI, I knew you were going to say this. I just wanted to persist the how-to-override-anything-for-a-service knowledge, but okay.","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"9f95879f397edf32260b9fface6b00a185759f98","unresolved":false,"context_lines":[{"line_number":732,"context_line":"function set_systemd_override {"},{"line_number":733,"context_line":"    local key\u003d\"$1\""},{"line_number":734,"context_line":"    local value\u003d\"$2\""},{"line_number":735,"context_line":"    local service\u003d\"$3\""},{"line_number":736,"context_line":""},{"line_number":737,"context_line":"    if [ \"$service\" ]; then"},{"line_number":738,"context_line":"        local srvconf\u003d\"/etc/systemd/system/${service}.service/override.conf\""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_dc2be4e8","line":735,"in_reply_to":"1f013ff3_7cae1099","updated":"2017-05-16 16:18:23.000000000","message":"If you want to keep the knowledge around, just describe it in the comment about the file you\u0027d need to change in that case. We can get it back later then.","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"e7c49764060f0819aa72f8030e2cc1ccee5892a2","unresolved":false,"context_lines":[{"line_number":742,"context_line":"            # Don\u0027t create anything other than the service dir (i.e. not -p)"},{"line_number":743,"context_line":"            mkdir \"$srvdir\" || {"},{"line_number":744,"context_line":"                echo \"Not setting override for ${service} because we are not on systemd\""},{"line_number":745,"context_line":"                return"},{"line_number":746,"context_line":"            }"},{"line_number":747,"context_line":"        fi"},{"line_number":748,"context_line":"        echo -e \"[Service]\\n${key}\u003d${value}\" | sudo tee -a ${srvconf}"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_bcec9829","line":745,"updated":"2017-05-16 16:05:17.000000000","message":"every system in our support list is systemd, no need for this check.","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"3e22bf63e65abcd3048f1281a60ef0dad3840623","unresolved":false,"context_lines":[{"line_number":742,"context_line":"            # Don\u0027t create anything other than the service dir (i.e. not -p)"},{"line_number":743,"context_line":"            mkdir \"$srvdir\" || {"},{"line_number":744,"context_line":"                echo \"Not setting override for ${service} because we are not on systemd\""},{"line_number":745,"context_line":"                return"},{"line_number":746,"context_line":"            }"},{"line_number":747,"context_line":"        fi"},{"line_number":748,"context_line":"        echo -e \"[Service]\\n${key}\u003d${value}\" | sudo tee -a ${srvconf}"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_1c9f0c60","line":745,"in_reply_to":"1f013ff3_bcec9829","updated":"2017-05-16 16:13:39.000000000","message":"ORLY, okay.","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"e7c49764060f0819aa72f8030e2cc1ccee5892a2","unresolved":false,"context_lines":[{"line_number":745,"context_line":"                return"},{"line_number":746,"context_line":"            }"},{"line_number":747,"context_line":"        fi"},{"line_number":748,"context_line":"        echo -e \"[Service]\\n${key}\u003d${value}\" | sudo tee -a ${srvconf}"},{"line_number":749,"context_line":"        echo \"Set systemd override for ${service}/${key}\u003d${value}\""},{"line_number":750,"context_line":"    else"},{"line_number":751,"context_line":"        local sysconf\u003d\"/etc/systemd/system.conf\""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_7cf610fc","line":748,"updated":"2017-05-16 16:05:17.000000000","message":"you can use iniset directly \n\niniset -sudo ${srvconf} \"Service\" \"${key}\" \"${value}\"","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"3e22bf63e65abcd3048f1281a60ef0dad3840623","unresolved":false,"context_lines":[{"line_number":745,"context_line":"                return"},{"line_number":746,"context_line":"            }"},{"line_number":747,"context_line":"        fi"},{"line_number":748,"context_line":"        echo -e \"[Service]\\n${key}\u003d${value}\" | sudo tee -a ${srvconf}"},{"line_number":749,"context_line":"        echo \"Set systemd override for ${service}/${key}\u003d${value}\""},{"line_number":750,"context_line":"    else"},{"line_number":751,"context_line":"        local sysconf\u003d\"/etc/systemd/system.conf\""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_bc8db832","line":748,"in_reply_to":"1f013ff3_7cf610fc","updated":"2017-05-16 16:13:39.000000000","message":"Oh, I guess these are ini files, cool.","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"},{"author":{"_account_id":2750,"name":"Sean Dague","email":"sean@dague.net","username":"sdague"},"change_message_id":"e7c49764060f0819aa72f8030e2cc1ccee5892a2","unresolved":false,"context_lines":[{"line_number":753,"context_line":"        echo \"Set systemd system override for ${key}\u003d${value}\""},{"line_number":754,"context_line":"    fi"},{"line_number":755,"context_line":""},{"line_number":756,"context_line":"    sudo systemd daemon-reload"},{"line_number":757,"context_line":"}"},{"line_number":758,"context_line":""},{"line_number":759,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_3cd8887d","line":756,"updated":"2017-05-16 16:05:17.000000000","message":"systemctl, right?","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"3e22bf63e65abcd3048f1281a60ef0dad3840623","unresolved":false,"context_lines":[{"line_number":753,"context_line":"        echo \"Set systemd system override for ${key}\u003d${value}\""},{"line_number":754,"context_line":"    fi"},{"line_number":755,"context_line":""},{"line_number":756,"context_line":"    sudo systemd daemon-reload"},{"line_number":757,"context_line":"}"},{"line_number":758,"context_line":""},{"line_number":759,"context_line":""}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"1f013ff3_5c7eb419","line":756,"in_reply_to":"1f013ff3_3cd8887d","updated":"2017-05-16 16:13:39.000000000","message":"No. Duh.\n\n..yes.","commit_id":"8e37ce996d2d2e1994e7d018fddeb28dec8e31c6"}]}
