Browse Source

Added service file and .editorconfig, fixes #1

master
Darshil Chanpura 2 years ago
parent
commit
c4b610890e
  1. 9
      .editorconfig
  2. 11
      init/systemd/shutdown-tool.service

9
.editorconfig

@ -0,0 +1,9 @@
root = true
[*]
insert_final_newline = true
end_of_line = lf
# Tab indentation (no size specified)
[Makefile]
indent_style = tab

11
init/systemd/shutdown-tool.service

@ -0,0 +1,11 @@
[Unit]
Description=Shutdown Tool
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/shutdown-tool -addr 0.0.0.0:8001
Restart=on-abort
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save