OXIESEC PANEL
- Current Dir:
/
/
snap
/
core
/
17210
/
lib
/
systemd
/
system
/
sysinit.target.requires
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/02/2024 07:52:55 PM
rwxr-xr-x
📄
snapd-set-hostname.service
554 bytes
10/02/2024 07:41:37 PM
rw-r--r--
Editing: snapd-set-hostname.service
Close
# Set the true hostname. # # systemd has already set the hostname when this unit executes (based on # the original /etc/hostname). # # However, since that file is on the read-only rootfs and the real # hostname is on the writable partition (/etc/writable bind-mount), it # is necessary to reset the hostname as soon as the true hostname file # is available. [Unit] Description=Set the hostname to the value stored on the writable partition After=etc-writable.mount DefaultDependencies=no [Service] Type=oneshot ExecStart=/bin/hostname -F /etc/hostname