zero3/filebrowser.service

14 lines
268 B
SYSTEMD
Raw Normal View History

2024-05-05 09:57:32 +08:00
# create /etc/systemd/system/filebrowser.service
[Unit]
Description=File Browser Service
After=network.target
[Service]
Type=simple
User=root
ExecStart=/usr/local/bin/filebrowser -r / --address 0.0.0.0 --port 8080
Restart=always
[Install]
WantedBy=multi-user.target