Complete Phase 1 and Hour 4 gallery/status polish
This commit is contained in:
15
poc/agent/systemd/memoric-agent.service
Normal file
15
poc/agent/systemd/memoric-agent.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=MemoriC Agent
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=%h/.local/share/memoric-agent
|
||||
Environment=STORAGE_DIR=%h/memoric/photos
|
||||
ExecStart=%h/.local/share/memoric-agent/memoric-agent
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user