diff options
| -rw-r--r-- | cmd/haminer/haminer.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmd/haminer/haminer.service b/cmd/haminer/haminer.service new file mode 100644 index 0000000..b8ad45d --- /dev/null +++ b/cmd/haminer/haminer.service @@ -0,0 +1,11 @@ +[Unit] +Description=haminer +After=syslog.target network.target + +[Service] +ExecStart=/usr/local/bin/haminer +User=centos +Restart=always + +[Install] +WantedBy=multi-user.target |
