blob: 33b1164abdeacfa0d77edb609bebdec3b97184cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# pcloudcc systemd user service
## Setup
Before enabling the service, you must configure pcloudcc credentials:
```bash
# Run pcloudcc interactively to set up credentials
pcloudcc -u your_username -s
# This will:
# - Prompt for password
# - Save credentials to ~/.pcloud/data.db
# - Create necessary configuration
```
## Usage
After initial setup:
```bash
# Enable and start the service
systemctl --user enable --now pcloudcc@your_username.service
# Check status
systemctl --user status pcloudcc@your_username.service
# Stop the service
systemctl --user stop pcloudcc@your_username.service
# View logs
journalctl --user -u pcloudcc@your_username.service
```
## Notes
- The service requires `~/.pcloud/data.db` to exist (created during initial setup)
- Use the `-s` flag during setup to save your password
- The service will not start without saved credentials
|