This commit is contained in:
@@ -4,7 +4,7 @@ After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/sour.is-paste
|
||||
ExecStart=/usr/local/bin/sour.is-paste serve
|
||||
User=www-data
|
||||
|
||||
Restart=always
|
||||
|
||||
@@ -7,13 +7,15 @@
|
||||
ansible.builtin.copy:
|
||||
src: ../build/sour.is-paste
|
||||
dest: /usr/local/bin/sour.is-paste
|
||||
mode: u=rwx,g=rx,o=rx
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Copy build to remote
|
||||
ansible.builtin.copy:
|
||||
src: sour.is-paste.service
|
||||
dest: /etc/systemd/system/sour.is-paste.service
|
||||
dest: /etc/systemd/system/sour.is-paste.service
|
||||
mode: u=r,g=r,o=r
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
|
||||
Reference in New Issue
Block a user