install & automount
This commit is contained in:
15
usb-automount.service
Normal file
15
usb-automount.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=USB Auto-Mount Service for Video Player
|
||||
After=multi-user.target
|
||||
Wants=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/opt/video_player/usb_automount.sh mount-all
|
||||
RemainAfterExit=yes
|
||||
User=root
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user