sysdis-project/central-manager/install/install.sh

11 lines
264 B
Bash
Raw Permalink Normal View History

2017-04-06 18:08:45 +00:00
#!/bin/bash
# [1] Create service target (boot)
sudo ln -s $(pwd)/sgca /usr/sbin/sgca;
# [2] Create service unit
sudo ln -s $(pwd)/sgca.service /lib/systemd/system/sgca.service;
# [3] Enable service (optional if no [Install])
sudo systemctl enable sgca.service;