e84e093dea
- Move all minigraph-related action from rc.local to updategraph - updategraph service is now after database. All feature services are now after and depending on updategraph
15 lines
358 B
Desktop File
15 lines
358 B
Desktop File
[Unit]
|
|
Description=Takes care of updates to SSH config file with respect to the SSH allow list
|
|
After=updategraph.service
|
|
Requires=updategraph.service
|
|
ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/sshd-config-updater
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|