distribution/packages/jelos/system.d/jelos-automount.service

14 lines
316 B
SYSTEMD
Raw Normal View History

[Unit]
Description=JELOS user autostart script
Before=autostart.service
After=systemd-tmpfiles-setup.service
[Service]
Type=oneshot
Environment=HOME=/storage
ExecStart=-/bin/sh -c ". /etc/profile; exec /bin/sh /usr/bin/automount; exec systemd-tmpfiles --create"
RemainAfterExit=yes
[Install]
WantedBy=jelos.target