mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 20:13:33 +00:00
minor install.sh
This commit is contained in:
+2
-3
@@ -7,7 +7,7 @@ INSTALL_SYSTEMD_DIR=${INSTALL_SYSTEMD_DIR:-/etc/systemd/system}
|
|||||||
UNCLOUD_GITHUB_URL="https://github.com/psviderski/uncloud"
|
UNCLOUD_GITHUB_URL="https://github.com/psviderski/uncloud"
|
||||||
UNCLOUD_VERSION=${UNCLOUD_VERSION:-latest}
|
UNCLOUD_VERSION=${UNCLOUD_VERSION:-latest}
|
||||||
UNCLOUD_GROUP="uncloud"
|
UNCLOUD_GROUP="uncloud"
|
||||||
# Add the specified user to the 'uncloud' group.
|
# Add the specified Linux user to group $UNCLOUD_GROUP.
|
||||||
UNCLOUD_GROUP_ADD_USER=${UNCLOUD_GROUP_ADD_USER:-}
|
UNCLOUD_GROUP_ADD_USER=${UNCLOUD_GROUP_ADD_USER:-}
|
||||||
|
|
||||||
log() {
|
log() {
|
||||||
@@ -135,11 +135,10 @@ install_uncloud_systemd() {
|
|||||||
Description=Uncloud machine daemon
|
Description=Uncloud machine daemon
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target
|
Wants=network-online.target
|
||||||
Requires=uncloud.socket
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
ExecStart=/usr/local/bin/uncloudd
|
ExecStart=${INSTALL_BIN_DIR}/uncloudd
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=2
|
RestartSec=2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user