-
Notifications
You must be signed in to change notification settings - Fork 542
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f3e0dc8
commit 0175adf
Showing
7 changed files
with
113 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
scripts/umbrel-os/services/umbrel-connection-details.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Umbrel Connection Details Logger (TTY) | ||
# Installed at /etc/systemd/system/umbrel-connection-details.service | ||
|
||
[Unit] | ||
Description=Connection Details | ||
Requires=umbrel-startup.service | ||
After=umbrel-startup.service | ||
|
||
[Service] | ||
Type=oneshot | ||
Restart=no | ||
ExecStart=/usr/local/bin/umbrel-details | ||
User=root | ||
Group=root | ||
StandardOutput=tty | ||
TTYPath=/dev/tty1 | ||
RemainAfterExit=yes | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
19 changes: 19 additions & 0 deletions
19
scripts/umbrel-os/services/umbrel-external-storage.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Umbrel External Storage Mounter | ||
# Installed at /etc/systemd/system/umbrel-external-storage.service | ||
|
||
[Unit] | ||
Description=External Storage Mounter | ||
|
||
[Service] | ||
Type=oneshot | ||
Restart=no | ||
ExecStart=/home/umbrel/umbrel/scripts/umbrel-os/external-storage/mount | ||
User=root | ||
Group=root | ||
StandardOutput=syslog | ||
StandardError=syslog | ||
SyslogIdentifier=external storage mounter | ||
RemainAfterExit=yes | ||
|
||
[Install] | ||
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Umbrel Startup Service | ||
# Installed at /etc/systemd/system/umbrel-startup.service | ||
|
||
[Unit] | ||
Description=Umbrel Startup Service | ||
Requires=umbrel-external-storage.service | ||
After=umbrel-external-storage.service | ||
Wants=network-online.target | ||
After=network-online.target | ||
Wants=docker.service | ||
After=docker.service | ||
|
||
[Service] | ||
Type=forking | ||
TimeoutSec=infinity | ||
ExecStart=/home/umbrel/umbrel/scripts/start | ||
User=root | ||
Group=root | ||
StandardOutput=syslog | ||
StandardError=syslog | ||
SyslogIdentifier=umbrel startup | ||
RemainAfterExit=yes | ||
|
||
[Install] | ||
WantedBy=multi-user.target |