smbautomount/.config/systemd/user/gio-mount-myshares.service

14 lines
338 B
SYSTEMD
Raw Permalink Normal View History

2024-04-08 18:23:16 +02:00
[Unit]
Description=GIO mount smb share-name
After=network.target
Before=mpd.service
[Service]
Type=oneshot
ExecStart=/home/%u/.local/bin/multimount.sh
ExecStop=/home/%u/.local/bin/multimount.sh -u
ExecReload=/home/%u/.local/bin/multimount.sh -u && /home/%u/.local/bin/multimount.sh
RemainAfterExit=true
[Install]
WantedBy=default.target